OLD | NEW |
1 This directory contains a reference implementation for Chrome OS | 1 This directory contains a reference implementation for Chrome OS |
2 verified boot in firmware. | 2 verified boot in firmware. |
3 | 3 |
4 ---------- | 4 ---------- |
5 Directory Structure | 5 Directory Structure |
6 ---------- | 6 ---------- |
7 | 7 |
8 include/ - Contains all the code headers. firmware_image.h and | 8 include/ - Contains all the code headers. firmware_image.h and |
9 kernel_image.h contains the structures that represent a verified boot | 9 kernel_image.h contains the structures that represent a verified boot |
10 firmware and kernel image. Note that the | 10 firmware and kernel image. Note that the |
11 | 11 |
12 crypto/ - Contains the implementation for the crypto library. This | 12 cryptolib/ - Contains the implementation for the crypto library. This |
13 includes implementations for SHA1, SHA256, SHA512, and RSA signature | 13 includes implementations for SHA1, SHA256, SHA512, and RSA signature |
14 verification (for PKCS #1 v1.5 signatures). | 14 verification (for PKCS #1 v1.5 signatures). |
15 | 15 |
16 common/ - Contains some utility functions and stub implementations for | 16 common/ - Contains some utility functions and stub implementations for |
17 certain wrapper functions used in the verification code. Some of these | 17 certain wrapper functions used in the verification code. Some of these |
18 (for example Free(), Malloc()) will need to be replaced with | 18 (for example Free(), Malloc()) will need to be replaced with |
19 appropriate firmware-land equivalent. | 19 appropriate firmware-land equivalent. |
20 | 20 |
21 utils/ - This contains the implementation of kernel and firmware image | 21 utils/ - This contains the implementation of kernel and firmware image |
22 verification (see firmware_image.c and kernel_image.c) and some | 22 verification (see firmware_image.c and kernel_image.c) and some |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 | 127 |
128 ---------- | 128 ---------- |
129 Generating a signed kernel image: | 129 Generating a signed kernel image: |
130 ---------- | 130 ---------- |
131 | 131 |
132 The steps for generating a signed kernel image are similar to that of | 132 The steps for generating a signed kernel image are similar to that of |
133 a firmware image. Since verification is chained - RO firmware verifies | 133 a firmware image. Since verification is chained - RO firmware verifies |
134 RW firmware which verifies the kernel, only the keys change. An additional | 134 RW firmware which verifies the kernel, only the keys change. An additional |
135 kernel signing key must be generated. The firmware signing generated above | 135 kernel signing key must be generated. The firmware signing generated above |
136 is the root key equivalent for signed kernel images. | 136 is the root key equivalent for signed kernel images. |
OLD | NEW |