summaryrefslogtreecommitdiff
path: root/tests/vb2_common_tests.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2014-11-21 11:04:36 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-11-27 06:35:09 +0000
commitc644a8c0f2df024798ac0e60c6028261ed389a16 (patch)
treee9d4e91959ffd0a22025f34515b6a3996b94c863 /tests/vb2_common_tests.c
parentfb9a216dd677d97f3d6963f668a9b84d349ef339 (diff)
downloadvboot-c644a8c0f2df024798ac0e60c6028261ed389a16.tar.gz
vboot2: Add host library functions for signing to new struct format
Including signing with bare hashes, and signing an object with more than one signature. With unit tests, even. BUG=chromium:423882 BRANCH=none TEST=VBOOT2=1 make runtests Change-Id: Iad0b9f9f6cca7129071aebf0cbc60c0daa94d382 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/231452 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'tests/vb2_common_tests.c')
-rw-r--r--tests/vb2_common_tests.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/vb2_common_tests.c b/tests/vb2_common_tests.c
index 37996ae3..29adfe84 100644
--- a/tests/vb2_common_tests.c
+++ b/tests/vb2_common_tests.c
@@ -9,6 +9,7 @@
#include "2common.h"
#include "2rsa.h"
#include "host_key2.h"
+#include "host_signature2.h"
#include "vb2_convert_structs.h"
#include "vboot_struct.h" /* For old struct sizes */