| 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 generating and manipulating verified boot kernel images
. | 5 * API definitions for a generating and manipulating verified boot kernel images
. |
| 6 * (Userland portion.) | 6 * (Userland portion.) |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #ifndef VBOOT_REFERENCE_KERNEL_IMAGE_H_ | 9 #ifndef VBOOT_REFERENCE_KERNEL_IMAGE_H_ |
| 10 #define VBOOT_REFERENCE_KERNEL_IMAGE_H_ | 10 #define VBOOT_REFERENCE_KERNEL_IMAGE_H_ |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 int AddKernelKeySignature(KernelImage* image, const char* firmware_key_file); | 108 int AddKernelKeySignature(KernelImage* image, const char* firmware_key_file); |
| 109 | 109 |
| 110 /* Add a kernel and kernel config signature to a kernel image [image] | 110 /* Add a kernel and kernel config signature to a kernel image [image] |
| 111 * using the private signing key in file [kernel_sigining_key_file]. | 111 * using the private signing key in file [kernel_sigining_key_file]. |
| 112 * | 112 * |
| 113 * Return 1 on success, 0 on failure. | 113 * Return 1 on success, 0 on failure. |
| 114 */ | 114 */ |
| 115 int AddKernelSignature(KernelImage* image, | 115 int AddKernelSignature(KernelImage* image, |
| 116 const char* kernel_sigining_key_file); | 116 const char* kernel_sigining_key_file); |
| 117 | 117 |
| 118 void PrintKernelEntry(kernel_entry* entry); | |
| 119 | |
| 120 #endif /* VBOOT_REFERENCE_KERNEL_IMAGE_H_ */ | 118 #endif /* VBOOT_REFERENCE_KERNEL_IMAGE_H_ */ |
| OLD | NEW |