summaryrefslogtreecommitdiff
path: root/tests/testcases
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@google.com>2017-03-02 17:56:46 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-03-16 11:25:47 -0700
commita1c5f7c006b7bb3d5894f132f70ba3bbadfd9d6b (patch)
tree9161a2024793c2859b84418702833507a4270287 /tests/testcases
parent114ac2079ed5fafc8deb9cbf58b5af01e74432b1 (diff)
downloadvboot-a1c5f7c006b7bb3d5894f132f70ba3bbadfd9d6b.tar.gz
vboot_reference: Add support for 3072-bit exponent 3 keys
This also adds the required tests (keys, testcases), and some additional tests in vb2_rsa_utility_tests.c that were not added when 2048-bit exponent 3 support was added. BRANCH=none BUG=chromium:684354 TEST=make runtests Change-Id: I56d22302c2254ef500b9d2d290a79d8c8bc39942 Reviewed-on: https://chromium-review.googlesource.com/449060 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'tests/testcases')
-rw-r--r--tests/testcases/test_file.rsa3072_exp3_sha1.sig3
-rw-r--r--tests/testcases/test_file.rsa3072_exp3_sha256.sig4
-rw-r--r--tests/testcases/test_file.rsa3072_exp3_sha512.sigbin0 -> 384 bytes
3 files changed, 7 insertions, 0 deletions
diff --git a/tests/testcases/test_file.rsa3072_exp3_sha1.sig b/tests/testcases/test_file.rsa3072_exp3_sha1.sig
new file mode 100644
index 00000000..caac8e9a
--- /dev/null
+++ b/tests/testcases/test_file.rsa3072_exp3_sha1.sig
@@ -0,0 +1,3 @@
+F bdm=%ҟ>/m޺zJ Q5Jq%ӣO_^DrIgY;I{ {Mԛ_Y0sOG@ͫۜIʇ?{YC#\ n.bҩv廎8 4@d7U4q@FϦ,YuzT B ߦ`~Ȍuq{[ ^
+pVQW3e ާ82xZISnJVd%pQ+< D+ .\־҉k%$mS_H/倫:C
+J<% ÿս"X?Yup_JSX5pk+>+mAˍ @ \ No newline at end of file
diff --git a/tests/testcases/test_file.rsa3072_exp3_sha256.sig b/tests/testcases/test_file.rsa3072_exp3_sha256.sig
new file mode 100644
index 00000000..67bb39f4
--- /dev/null
+++ b/tests/testcases/test_file.rsa3072_exp3_sha256.sig
@@ -0,0 +1,4 @@
+>ȴ5/Т/( O\41~vBGK
+kM
+B'zrjfQ19ԺQҾYF|ddUJf4nQGa]*/j5/јLAwU:qU3+o,./i_IA&5Վ>JZ#6`|8W]kmlP<OxH4*$A(jʝ9v>@M8E/J~HEyPՅ&myw#%Kqbw m <JV] !e7-htN4#)\%F:.Su
+ֈ._s@S+qba5<Yu 2%|ۀ"n| 90 2N \ No newline at end of file
diff --git a/tests/testcases/test_file.rsa3072_exp3_sha512.sig b/tests/testcases/test_file.rsa3072_exp3_sha512.sig
new file mode 100644
index 00000000..81567572
--- /dev/null
+++ b/tests/testcases/test_file.rsa3072_exp3_sha512.sig
Binary files differ