Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: firmware/linktest/main.c

Issue 2919010: Add tpm lite to vboot reference (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « firmware/lib/tpm_lite/tlcl.c ('k') | firmware/stub/include/biosincludes.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « firmware/lib/tpm_lite/tlcl.c ('k') | firmware/stub/include/biosincludes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698