diff options
author | Nicolas Boichat <drinkcat@google.com> | 2016-11-09 11:22:01 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-11-09 21:14:17 -0800 |
commit | f44bc369824ee4c14c5d0987673e27e6510843bc (patch) | |
tree | 94db55f42a43f1d6af7301d2287720251f3f8d53 /test/test_config.h | |
parent | 92d91adbdb38e5639c200ad65c4651274a8d07f9 (diff) | |
download | chrome-ec-f44bc369824ee4c14c5d0987673e27e6510843bc.tar.gz |
test/rsa: Add test for RSA signature checking
This tests RSA 2048 with public exponent F4 (65537).
BRANCH=none
BUG=chromium:663631
TEST=make run-rsa3
Change-Id: I195a349bb9a862606971054adc9ac3b56a817fe7
Reviewed-on: https://chromium-review.googlesource.com/408129
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'test/test_config.h')
-rw-r--r-- | test/test_config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h index 0cfd7c0b83..4d772dffac 100644 --- a/test/test_config.h +++ b/test/test_config.h @@ -51,6 +51,11 @@ #define CONFIG_TABLET_MODE #endif +#ifdef TEST_RSA +#define CONFIG_RSA +#define CONFIG_RSA_KEY_SIZE 2048 +#endif + #ifdef TEST_SBS_CHARGING #define CONFIG_BATTERY_MOCK #define CONFIG_BATTERY_SMART |