| 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 * Data structure and API definitions for a verified boot kernel image. | 5 * Data structure and API definitions for a verified boot kernel image. |
| 6 * (Firmware Portion) | 6 * (Firmware Portion) |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #ifndef VBOOT_REFERENCE_KERNEL_IMAGE_FW_H_ | 9 #ifndef VBOOT_REFERENCE_KERNEL_IMAGE_FW_H_ |
| 10 #define VBOOT_REFERENCE_KERNEL_IMAGE_FW_H_ | 10 #define VBOOT_REFERENCE_KERNEL_IMAGE_FW_H_ |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 */ | 159 */ |
| 160 int VerifyKernel(const uint8_t* signing_key_blob, | 160 int VerifyKernel(const uint8_t* signing_key_blob, |
| 161 const uint8_t* kernel_blob, | 161 const uint8_t* kernel_blob, |
| 162 const int dev_mode); | 162 const int dev_mode); |
| 163 | 163 |
| 164 /* Returns the logical version of a kernel blob which is calculated as | 164 /* Returns the logical version of a kernel blob which is calculated as |
| 165 * (kernel_key_version << 16 | kernel_version). */ | 165 * (kernel_key_version << 16 | kernel_version). */ |
| 166 uint32_t GetLogicalKernelVersion(uint8_t* kernel_blob); | 166 uint32_t GetLogicalKernelVersion(uint8_t* kernel_blob); |
| 167 | 167 |
| 168 #endif /* VBOOT_REFERENCE_KERNEL_IMAGE_FW_H_ */ | 168 #endif /* VBOOT_REFERENCE_KERNEL_IMAGE_FW_H_ */ |
| OLD | NEW |