diff options
author | Nicolas Boichat <drinkcat@google.com> | 2016-11-09 14:06:01 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-11-10 21:28:29 -0800 |
commit | d7178e9b5faddabbfc5cdf2223bd5b865c58338e (patch) | |
tree | 070b67c34939f73b4d24e821e2c4b17b457877fe /test/rsa.c | |
parent | ef0f355e476b02dc74d99c25881d77488798e9bc (diff) | |
download | chrome-ec-d7178e9b5faddabbfc5cdf2223bd5b865c58338e.tar.gz |
test/rsa: Add test for RSA with public exponent 3
This tests RSA 2048 with public exponent 3.
BRANCH=none
BUG=chromium:663631
TEST=make run-rsa3
Change-Id: I979ad4a23de6baba63aba037d2713b74fed4737f
Reviewed-on: https://chromium-review.googlesource.com/408130
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'test/rsa.c')
-rw-r--r-- | test/rsa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/rsa.c b/test/rsa.c index 946515b0a2..401b502855 100644 --- a/test/rsa.c +++ b/test/rsa.c @@ -11,7 +11,11 @@ #include "test_util.h" #include "util.h" +#ifdef TEST_RSA3 +#include "rsa2048-3.h" +#else #include "rsa2048-F4.h" +#endif void run_test(void) { |