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 definitions for verified boot, for on-disk / in-eeprom | 5 * Data structure definitions for verified boot, for on-disk / in-eeprom |
6 * data. | 6 * data. |
7 */ | 7 */ |
8 | 8 |
9 #ifndef VBOOT_REFERENCE_VBOOT_STRUCT_H_ | 9 #ifndef VBOOT_REFERENCE_VBOOT_STRUCT_H_ |
10 #define VBOOT_REFERENCE_VBOOT_STRUCT_H_ | 10 #define VBOOT_REFERENCE_VBOOT_STRUCT_H_ |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 uint64_t bootloader_size; /* Size of bootloader in bytes */ | 115 uint64_t bootloader_size; /* Size of bootloader in bytes */ |
116 VbSignature body_signature; /* Signature for the kernel body */ | 116 VbSignature body_signature; /* Signature for the kernel body */ |
117 } __attribute__((packed)) VbKernelPreambleHeader; | 117 } __attribute__((packed)) VbKernelPreambleHeader; |
118 /* This should be followed by: | 118 /* This should be followed by: |
119 * 2) The signature data for the kernel body, pointed to by | 119 * 2) The signature data for the kernel body, pointed to by |
120 * body_signature.sig_offset. | 120 * body_signature.sig_offset. |
121 * 3) The signature data for (VBFirmwarePreambleHeader + body signature | 121 * 3) The signature data for (VBFirmwarePreambleHeader + body signature |
122 * data), pointed to by preamble_signature.sig_offset. */ | 122 * data), pointed to by preamble_signature.sig_offset. */ |
123 | 123 |
124 #endif /* VBOOT_REFERENCE_VBOOT_STRUCT_H_ */ | 124 #endif /* VBOOT_REFERENCE_VBOOT_STRUCT_H_ */ |
OLD | NEW |