Home
last modified time | relevance | path

Searched refs:crypto_params (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp1110 AuthorizationSet crypto_params; in TEST_P() local
1112 crypto_params = key_characteristics.teeEnforced; in TEST_P()
1114 crypto_params = key_characteristics.softwareEnforced; in TEST_P()
1117 EXPECT_TRUE(crypto_params.Contains(TAG_ALGORITHM, KM_ALGORITHM_RSA)); in TEST_P()
1118 EXPECT_TRUE(crypto_params.Contains(TAG_KEY_SIZE, key_size)); in TEST_P()
1119 EXPECT_TRUE(crypto_params.Contains(TAG_RSA_PUBLIC_EXPONENT, 3)); in TEST_P()
1156 AuthorizationSet crypto_params; in TEST_P() local
1158 crypto_params = key_characteristics.teeEnforced; in TEST_P()
1160 crypto_params = key_characteristics.softwareEnforced; in TEST_P()
1163 EXPECT_TRUE(crypto_params.Contains(TAG_ALGORITHM, Algorithm::EC)); in TEST_P()
[all …]
/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp548 AuthorizationSet crypto_params; in TEST_P() local
550 crypto_params = key_characteristics.hardwareEnforced; in TEST_P()
552 crypto_params = key_characteristics.softwareEnforced; in TEST_P()
555 EXPECT_TRUE(crypto_params.Contains(TAG_ALGORITHM, Algorithm::RSA)); in TEST_P()
556 EXPECT_TRUE(crypto_params.Contains(TAG_KEY_SIZE, key_size)) in TEST_P()
558 EXPECT_TRUE(crypto_params.Contains(TAG_RSA_PUBLIC_EXPONENT, 65537U)); in TEST_P()
613 AuthorizationSet crypto_params; in TEST_P() local
615 crypto_params = key_characteristics.hardwareEnforced; in TEST_P()
617 crypto_params = key_characteristics.softwareEnforced; in TEST_P()
620 EXPECT_TRUE(crypto_params.Contains(TAG_ALGORITHM, Algorithm::EC)); in TEST_P()
[all …]