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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 * using the private signing key in file [kernel_sigining_key_file]. | 91 * using the private signing key in file [kernel_sigining_key_file]. |
92 * | 92 * |
93 * Return 1 on success, 0 on failure. | 93 * Return 1 on success, 0 on failure. |
94 */ | 94 */ |
95 int AddKernelSignature(KernelImage* image, | 95 int AddKernelSignature(KernelImage* image, |
96 const char* kernel_sigining_key_file); | 96 const char* kernel_sigining_key_file); |
97 | 97 |
98 void PrintKernelEntry(kernel_entry* entry); | 98 void PrintKernelEntry(kernel_entry* entry); |
99 | 99 |
100 #endif /* VBOOT_REFERENCE_KERNEL_IMAGE_H_ */ | 100 #endif /* VBOOT_REFERENCE_KERNEL_IMAGE_H_ */ |
OLD | NEW |