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/test_config.h | |
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/test_config.h')
-rw-r--r-- | test/test_config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h index 4d772dffac..a453d04638 100644 --- a/test/test_config.h +++ b/test/test_config.h @@ -56,6 +56,12 @@ #define CONFIG_RSA_KEY_SIZE 2048 #endif +#ifdef TEST_RSA3 +#define CONFIG_RSA +#define CONFIG_RSA_KEY_SIZE 2048 +#define CONFIG_RSA_EXPONENT_3 +#endif + #ifdef TEST_SBS_CHARGING #define CONFIG_BATTERY_MOCK #define CONFIG_BATTERY_SMART |