summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYicheng Li <yichengli@chromium.org>2020-06-09 12:50:36 -0700
committerCommit Bot <commit-bot@chromium.org>2020-06-23 16:56:59 +0000
commit09057301e6fe89e0c06b851c576518b42c1ee0b9 (patch)
tree53ea9a045fba899f2756550df5fb473451f49336 /test
parent04c1d97690c0a58ae63de8c11776540419654627 (diff)
downloadchrome-ec-09057301e6fe89e0c06b851c576518b42c1ee0b9.tar.gz
stm32: Enable rsa and rsa3 on-device unit tests
BRANCH=none BUG=b:155235321 TEST=make BOARD=nucleo-dartmonkey tests -j TEST=make BOARD=bloonchipper tests -j TEST=make BOARD=dartmonkey tests -j TEST=make BOARD=nucleo-f412zg tests -j TEST=make BOARD=nucleo-h743zi tests -j TEST=flash rsa unit test binary to nucleo-f412zg, run test => pass TEST=flash rsa3 unit test binary to nucleo-f412zg, run test => pass TEST=flash rsa unit test binary to nucleo-h743zi, run test => pass TEST=flash rsa3 unit test binary to nucleo-h743zi, run test => pass Signed-off-by: Yicheng Li <yichengli@chromium.org> Change-Id: I2ebcf6f322f9c16aba65a3a627a0a83ca00d2a02 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2240516 Commit-Queue: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/test_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h
index 8fcadd044d..4c53ff0bdf 100644
--- a/test/test_config.h
+++ b/test/test_config.h
@@ -207,7 +207,9 @@ enum sensor_id {
#ifdef TEST_RSA
#define CONFIG_RSA
+#undef CONFIG_RSA_KEY_SIZE
#define CONFIG_RSA_KEY_SIZE 2048
+#undef CONFIG_RSA_EXPONENT_3
#define CONFIG_RWSIG_TYPE_RWSIG
#endif