| OLD | NEW |
| 1 #include <stdio.h> | 1 #include <stdio.h> |
| 2 | 2 |
| 3 #include "host_common.h" | 3 #include "host_common.h" |
| 4 #include "file_keys.h" |
| 5 #include "signature_digest.h" |
| 4 | 6 |
| 5 int main(void) | 7 int main(void) |
| 6 { | 8 { |
| 7 /* host_key.h */ | 9 /* host_key.h */ |
| 8 PrivateKeyRead(0, 0); | 10 PrivateKeyRead(0, 0); |
| 9 PrivateKeyFree(0); | 11 PrivateKeyFree(0); |
| 10 PublicKeyAlloc(0, 0, 0); | 12 PublicKeyAlloc(0, 0, 0); |
| 11 PublicKeyRead(0); | 13 PublicKeyRead(0); |
| 12 PublicKeyReadKeyb(0, 0, 0); | 14 PublicKeyReadKeyb(0, 0, 0); |
| 13 PublicKeyWrite(0, 0); | 15 PublicKeyWrite(0, 0); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 25 SignatureInit(0, 0, 0, 0); | 27 SignatureInit(0, 0, 0, 0); |
| 26 SignatureAlloc(0, 0); | 28 SignatureAlloc(0, 0); |
| 27 SignatureCopy(0, 0); | 29 SignatureCopy(0, 0); |
| 28 CalculateChecksum(0, 0); | 30 CalculateChecksum(0, 0); |
| 29 CalculateSignature(0, 0, 0); | 31 CalculateSignature(0, 0, 0); |
| 30 | 32 |
| 31 /* host_common.h */ | 33 /* host_common.h */ |
| 32 CreateFirmwarePreamble(0, 0, 0, 0); | 34 CreateFirmwarePreamble(0, 0, 0, 0); |
| 33 CreateKernelPreamble(0, 0, 0, 0, 0, 0, 0); | 35 CreateKernelPreamble(0, 0, 0, 0, 0, 0, 0); |
| 34 | 36 |
| 37 /* file_keys.h */ |
| 38 BufferFromFile(0, 0); |
| 39 RSAPublicKeyFromFile(0); |
| 40 DigestFile(0, 0); |
| 41 SignatureFile(0, 0, 0); |
| 42 |
| 43 /* signature_digest.h */ |
| 44 PrependDigestInfo(0, 0); |
| 45 SignatureDigest(0, 0, 0); |
| 46 SignatureBuf(0, 0, 0, 0); |
| 47 |
| 35 return 0; | 48 return 0; |
| 36 } | 49 } |
| OLD | NEW |