OLD | NEW |
1 | 1 |
2 #include "cgptlib.h" | 2 #include "cgptlib.h" |
3 #include "load_firmware_fw.h" | 3 #include "load_firmware_fw.h" |
4 #include "load_kernel_fw.h" | 4 #include "load_kernel_fw.h" |
5 #include "rollback_index.h" | 5 #include "rollback_index.h" |
6 #include "tlcl.h" | 6 #include "tlcl.h" |
7 #include "vboot_common.h" | 7 #include "vboot_common.h" |
8 #include "vboot_kernel.h" | 8 #include "vboot_kernel.h" |
9 | 9 |
| 10 |
10 int main(void) | 11 int main(void) |
11 { | 12 { |
12 uint16_t x, y; | 13 uint16_t x, y; |
13 | 14 |
14 /* cgptlib.h */ | 15 /* cgptlib.h */ |
15 GptInit(0); | 16 GptInit(0); |
16 GptNextKernelEntry(0, 0, 0); | 17 GptNextKernelEntry(0, 0, 0); |
17 GptUpdateKernelEntry(0, 0); | 18 GptUpdateKernelEntry(0, 0); |
18 | 19 |
19 /* load_firmware_fw.h */ | 20 /* load_firmware_fw.h */ |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 PublicKeyCopy(0, 0); | 68 PublicKeyCopy(0, 0); |
68 PublicKeyToRSA(0); | 69 PublicKeyToRSA(0); |
69 VerifyData(0, 0, 0); | 70 VerifyData(0, 0, 0); |
70 VerifyDigest(0, 0, 0); | 71 VerifyDigest(0, 0, 0); |
71 KeyBlockVerify(0, 0, 0); | 72 KeyBlockVerify(0, 0, 0); |
72 VerifyFirmwarePreamble2(0, 0, 0); | 73 VerifyFirmwarePreamble2(0, 0, 0); |
73 VerifyKernelPreamble2(0, 0, 0); | 74 VerifyKernelPreamble2(0, 0, 0); |
74 | 75 |
75 return 0; | 76 return 0; |
76 } | 77 } |
OLD | NEW |