| OLD | NEW |
| 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 * | 4 * |
| 5 * API definitions for a verified boot firmware image. | 5 * API definitions for a verified boot firmware image. |
| 6 * (Userland Portion) | 6 * (Userland Portion) |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #ifndef VBOOT_REFERENCE_FIRMWARE_IMAGE_H_ | 9 #ifndef VBOOT_REFERENCE_FIRMWARE_IMAGE_H_ |
| 10 #define VBOOT_REFERENCE_FIRMWARE_IMAGE_H_ | 10 #define VBOOT_REFERENCE_FIRMWARE_IMAGE_H_ |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 int AddFirmwareKeySignature(FirmwareImage* image, const char* root_key_file); | 84 int AddFirmwareKeySignature(FirmwareImage* image, const char* root_key_file); |
| 85 | 85 |
| 86 /* Add firmware and preamble signature to a firmware image [image] | 86 /* Add firmware and preamble signature to a firmware image [image] |
| 87 * using the private signing key in file [signing_key_file]. | 87 * using the private signing key in file [signing_key_file]. |
| 88 * | 88 * |
| 89 * Return 1 on success, 0 on failure. | 89 * Return 1 on success, 0 on failure. |
| 90 */ | 90 */ |
| 91 int AddFirmwareSignature(FirmwareImage* image, const char* signing_key_file); | 91 int AddFirmwareSignature(FirmwareImage* image, const char* signing_key_file); |
| 92 | 92 |
| 93 #endif /* VBOOT_REFERENCE_FIRMWARE_IMAGE_H_ */ | 93 #endif /* VBOOT_REFERENCE_FIRMWARE_IMAGE_H_ */ |
| OLD | NEW |