| 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_VBOOT_FIRMWARE_H_ | 9 #ifndef VBOOT_REFERENCE_VBOOT_FIRMWARE_H_ |
| 10 #define VBOOT_REFERENCE_VBOOT_FIRMWARE_H_ | 10 #define VBOOT_REFERENCE_VBOOT_FIRMWARE_H_ |
| 11 | 11 |
| 12 #include <stdint.h> | 12 #include <stdint.h> |
| 13 | 13 |
| 14 #include "cgptlib.h" | 14 #include "cgptlib.h" |
| 15 #include "cryptolib.h" | 15 #include "cryptolib.h" |
| 16 #include "load_firmware_fw.h" | 16 #include "load_firmware_fw.h" |
| 17 #include "vboot_common.h" | 17 #include "vboot_common.h" |
| 18 | 18 |
| 19 /* Alternate LoadFirmware() implementation; see load_firmware_fw.h */ | 19 /* Alternate LoadFirmware() implementation; see load_firmware_fw.h */ |
| 20 void UpdateFirmwareBodyHash2(uint8_t* data, uint64_t size); | |
| 21 int LoadFirmware2(LoadFirmwareParams* params); | 20 int LoadFirmware2(LoadFirmwareParams* params); |
| 22 | 21 |
| 23 #endif /* VBOOT_REFERENCE_VBOOT_FIRMWARE_H_ */ | 22 #endif /* VBOOT_REFERENCE_VBOOT_FIRMWARE_H_ */ |
| OLD | NEW |