summaryrefslogtreecommitdiffstats
path: root/tests/keymaster
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-05-14 15:20:28 -0700
committerBrian Carlstrom <bdc@google.com>2013-05-14 15:32:33 -0700
commit63b64337fbaa10b282f85a7e887b40ced6d6d632 (patch)
tree16154dfa4402ec6f11ca1af0c0b4b988ca52da28 /tests/keymaster
parent4ed61b22e046ed544f6afb50abd0af25d478d8b1 (diff)
downloadhardware_libhardware-63b64337fbaa10b282f85a7e887b40ced6d6d632.zip
hardware_libhardware-63b64337fbaa10b282f85a7e887b40ced6d6d632.tar.gz
hardware_libhardware-63b64337fbaa10b282f85a7e887b40ced6d6d632.tar.bz2
Add larger RSA key sizes
Bug: 8734191 Change-Id: I82413505b32d5cdd2c4330c63d5f66e6b7e34634
Diffstat (limited to 'tests/keymaster')
-rw-r--r--tests/keymaster/keymaster_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/keymaster/keymaster_test.cpp b/tests/keymaster/keymaster_test.cpp
index 57e7dc8..0046ea4 100644
--- a/tests/keymaster/keymaster_test.cpp
+++ b/tests/keymaster/keymaster_test.cpp
@@ -392,7 +392,7 @@ TEST_P(KeymasterGenerateTest, GenerateKeyPair_RSA_Success) {
INSTANTIATE_TEST_CASE_P(RSA,
KeymasterGenerateTest,
- ::testing::Values(512U, 1024U, 2048U));
+ ::testing::Values(512U, 1024U, 2048U, 3072U, 4096U));
TEST_F(KeymasterTest, GenerateKeyPair_RSA_NullParams_Failure) {
keymaster_keypair_t key_type = TYPE_RSA;