Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: host/linktest/main.c

Issue 2745007: Major refactoring of structures, with unit tests. (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Implemented LoadFirmware2() Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: host/linktest/main.c
diff --git a/host/linktest/main.c b/host/linktest/main.c
new file mode 100644
index 0000000000000000000000000000000000000000..91fc5aff6666d792bec06b25f54ccc74023eb10a
--- /dev/null
+++ b/host/linktest/main.c
@@ -0,0 +1,28 @@
+#include <stdio.h>
+
+#include "host_common.h"
+
+int main(void)
+{
+ /* host_key.h */
+ PrivateKeyRead(0, 0);
+ PrivateKeyFree(0);
+ PublicKeyInit(0, 0, 0);
+ PublicKeyAlloc(0, 0, 0);
+ PublicKeyCopy(0, 0);
+ PublicKeyRead(0, 0, 0);
+
+ /* host_signature.h */
+ SignatureInit(0, 0, 0, 0);
+ SignatureAlloc(0, 0);
+ SignatureCopy(0, 0);
+ CalculateChecksum(0, 0);
+ CalculateSignature(0, 0, 0);
+
+ /* host_common.h */
+ CreateKeyBlock(0, 0, 0);
+ CreateFirmwarePreamble(0, 0, 0, 0);
+ CreateKernelPreamble(0, 0, 0, 0, 0, 0);
+
+ return 0;
+}

Powered by Google App Engine
This is Rietveld 408576698