| 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 * Host-side functions for verified boot. | 5 * Host-side functions for verified boot. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef VBOOT_REFERENCE_HOST_COMMON_H_ | 8 #ifndef VBOOT_REFERENCE_HOST_COMMON_H_ |
| 9 #define VBOOT_REFERENCE_HOST_COMMON_H_ | 9 #define VBOOT_REFERENCE_HOST_COMMON_H_ |
| 10 | 10 |
| 11 #include <stdint.h> | |
| 12 | |
| 13 #include "cryptolib.h" | 11 #include "cryptolib.h" |
| 14 #include "host_key.h" | 12 #include "host_key.h" |
| 15 #include "host_keyblock.h" | 13 #include "host_keyblock.h" |
| 16 #include "host_misc.h" | 14 #include "host_misc.h" |
| 17 #include "host_signature.h" | 15 #include "host_signature.h" |
| 18 #include "utility.h" | 16 #include "utility.h" |
| 19 #include "vboot_struct.h" | 17 #include "vboot_struct.h" |
| 20 | 18 |
| 21 | 19 |
| 22 /* Creates a firmware preamble, signed with [signing_key]. | 20 /* Creates a firmware preamble, signed with [signing_key]. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 37 VbKernelPreambleHeader* CreateKernelPreamble( | 35 VbKernelPreambleHeader* CreateKernelPreamble( |
| 38 uint64_t kernel_version, | 36 uint64_t kernel_version, |
| 39 uint64_t body_load_address, | 37 uint64_t body_load_address, |
| 40 uint64_t bootloader_address, | 38 uint64_t bootloader_address, |
| 41 uint64_t bootloader_size, | 39 uint64_t bootloader_size, |
| 42 const VbSignature* body_signature, | 40 const VbSignature* body_signature, |
| 43 uint64_t desired_size, | 41 uint64_t desired_size, |
| 44 const VbPrivateKey* signing_key); | 42 const VbPrivateKey* signing_key); |
| 45 | 43 |
| 46 #endif /* VBOOT_REFERENCE_HOST_COMMON_H_ */ | 44 #endif /* VBOOT_REFERENCE_HOST_COMMON_H_ */ |
| OLD | NEW |