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" | 4 #include "file_keys.h" |
5 #include "signature_digest.h" | 5 #include "signature_digest.h" |
6 | 6 |
7 int main(void) | 7 int main(void) |
8 { | 8 { |
9 /* host_key.h */ | 9 /* host_key.h */ |
10 PrivateKeyRead(0, 0); | 10 PrivateKeyReadPem(0, 0); |
11 PrivateKeyFree(0); | 11 PrivateKeyFree(0); |
12 PublicKeyAlloc(0, 0, 0); | 12 PublicKeyAlloc(0, 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_keyblock.h */ | 17 /* host_keyblock.h */ |
18 KeyBlockCreate(0, 0, 0); | 18 KeyBlockCreate(0, 0, 0); |
19 KeyBlockRead(0); | 19 KeyBlockRead(0); |
20 KeyBlockWrite(0, 0); | 20 KeyBlockWrite(0, 0); |
(...skipping 19 matching lines...) Expand all Loading... |
40 DigestFile(0, 0); | 40 DigestFile(0, 0); |
41 SignatureFile(0, 0, 0); | 41 SignatureFile(0, 0, 0); |
42 | 42 |
43 /* signature_digest.h */ | 43 /* signature_digest.h */ |
44 PrependDigestInfo(0, 0); | 44 PrependDigestInfo(0, 0); |
45 SignatureDigest(0, 0, 0); | 45 SignatureDigest(0, 0, 0); |
46 SignatureBuf(0, 0, 0, 0); | 46 SignatureBuf(0, 0, 0, 0); |
47 | 47 |
48 return 0; | 48 return 0; |
49 } | 49 } |
OLD | NEW |