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