OLD | NEW |
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); | |
11 PublicKeyAlloc(0, 0, 0); | 10 PublicKeyAlloc(0, 0, 0); |
12 PublicKeyCopy(0, 0); | |
13 PublicKeyRead(0); | 11 PublicKeyRead(0); |
14 PublicKeyReadKeyb(0, 0, 0); | 12 PublicKeyReadKeyb(0, 0, 0); |
15 PublicKeyWrite(0, 0); | 13 PublicKeyWrite(0, 0); |
16 | 14 |
17 /* host_keyblock.h */ | 15 /* host_keyblock.h */ |
18 KeyBlockCreate(0, 0, 0); | 16 KeyBlockCreate(0, 0, 0); |
19 KeyBlockRead(0); | 17 KeyBlockRead(0); |
20 KeyBlockWrite(0, 0); | 18 KeyBlockWrite(0, 0); |
21 | 19 |
22 /* host_misc.h */ | 20 /* host_misc.h */ |
23 ReadFile(0, 0); | 21 ReadFile(0, 0); |
24 WriteFile(0, 0, 0); | 22 WriteFile(0, 0, 0); |
25 | 23 |
26 /* host_signature.h */ | 24 /* host_signature.h */ |
27 SignatureInit(0, 0, 0, 0); | 25 SignatureInit(0, 0, 0, 0); |
28 SignatureAlloc(0, 0); | 26 SignatureAlloc(0, 0); |
29 SignatureCopy(0, 0); | 27 SignatureCopy(0, 0); |
30 CalculateChecksum(0, 0); | 28 CalculateChecksum(0, 0); |
31 CalculateSignature(0, 0, 0); | 29 CalculateSignature(0, 0, 0); |
32 | 30 |
33 /* host_common.h */ | 31 /* host_common.h */ |
34 CreateFirmwarePreamble(0, 0, 0, 0); | 32 CreateFirmwarePreamble(0, 0, 0, 0); |
35 CreateKernelPreamble(0, 0, 0, 0, 0, 0, 0); | 33 CreateKernelPreamble(0, 0, 0, 0, 0, 0, 0); |
36 | 34 |
37 return 0; | 35 return 0; |
38 } | 36 } |
OLD | NEW |