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

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

Issue 2762009: Add vbutil_key (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Util to pack/unpack .vbpubk files Created 10 years, 6 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 | « host/lib/host_misc.c ('k') | tests/vboot_common2_tests.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include <stdio.h> 1 #include <stdio.h>
2 2
3 #include "host_common.h" 3 #include "host_common.h"
4 4
5 int main(void) 5 int main(void)
6 { 6 {
7 /* host_key.h */ 7 /* host_key.h */
8 PrivateKeyRead(0, 0); 8 PrivateKeyRead(0, 0);
9 PrivateKeyFree(0); 9 PrivateKeyFree(0);
10 PublicKeyInit(0, 0, 0); 10 PublicKeyInit(0, 0, 0);
11 PublicKeyAlloc(0, 0, 0); 11 PublicKeyAlloc(0, 0, 0);
12 PublicKeyCopy(0, 0); 12 PublicKeyCopy(0, 0);
13 PublicKeyRead(0, 0, 0); 13 PublicKeyRead(0);
14 PublicKeyReadKeyb(0, 0, 0);
15 PublicKeyWrite(0, 0);
16
17 /* host_misc.h */
18 ReadFile(0, 0);
14 19
15 /* host_signature.h */ 20 /* host_signature.h */
16 SignatureInit(0, 0, 0, 0); 21 SignatureInit(0, 0, 0, 0);
17 SignatureAlloc(0, 0); 22 SignatureAlloc(0, 0);
18 SignatureCopy(0, 0); 23 SignatureCopy(0, 0);
19 CalculateChecksum(0, 0); 24 CalculateChecksum(0, 0);
20 CalculateSignature(0, 0, 0); 25 CalculateSignature(0, 0, 0);
21 26
22 /* host_common.h */ 27 /* host_common.h */
23 CreateKeyBlock(0, 0, 0); 28 CreateKeyBlock(0, 0, 0);
24 CreateFirmwarePreamble(0, 0, 0, 0); 29 CreateFirmwarePreamble(0, 0, 0, 0);
25 CreateKernelPreamble(0, 0, 0, 0, 0, 0); 30 CreateKernelPreamble(0, 0, 0, 0, 0, 0, 0);
26 31
27 return 0; 32 return 0;
28 } 33 }
OLDNEW
« no previous file with comments | « host/lib/host_misc.c ('k') | tests/vboot_common2_tests.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698