summaryrefslogtreecommitdiff
path: root/host/linktest
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2010-06-10 12:43:51 -0700
committerRandall Spangler <rspangler@chromium.org>2010-06-10 12:43:51 -0700
commitd55c64537245abca67a66fde5874b7f4a6cdc556 (patch)
tree9985b8ee0b402282a93501accee171e5ce0c8ba6 /host/linktest
parent4f11c36ebcc42a8f875ce6ea7cdc36f5c4e965de (diff)
downloadvboot-d55c64537245abca67a66fde5874b7f4a6cdc556.tar.gz
Utility to pack public key, version, algorithm into a single file in VbPublicKey format
Review URL: http://codereview.chromium.org/2762009
Diffstat (limited to 'host/linktest')
-rw-r--r--host/linktest/main.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/host/linktest/main.c b/host/linktest/main.c
index 91fc5aff..767a9025 100644
--- a/host/linktest/main.c
+++ b/host/linktest/main.c
@@ -10,7 +10,12 @@ int main(void)
PublicKeyInit(0, 0, 0);
PublicKeyAlloc(0, 0, 0);
PublicKeyCopy(0, 0);
- PublicKeyRead(0, 0, 0);
+ PublicKeyRead(0);
+ PublicKeyReadKeyb(0, 0, 0);
+ PublicKeyWrite(0, 0);
+
+ /* host_misc.h */
+ ReadFile(0, 0);
/* host_signature.h */
SignatureInit(0, 0, 0, 0);
@@ -22,7 +27,7 @@ int main(void)
/* host_common.h */
CreateKeyBlock(0, 0, 0);
CreateFirmwarePreamble(0, 0, 0, 0);
- CreateKernelPreamble(0, 0, 0, 0, 0, 0);
+ CreateKernelPreamble(0, 0, 0, 0, 0, 0, 0);
return 0;
}