Searched refs:key_characteristics_ (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 480 return GenerateKey(key_desc, &key_blob_, &key_characteristics_); in GenerateKey() 507 return ImportKey(key_desc, format, key_material, &key_blob_, &key_characteristics_); in ImportKey() 862 EXPECT_TRUE(contains(key_characteristics_.teeEnforced, ttag, expected)); in CheckKm0CryptoParam() 863 EXPECT_FALSE(contains(key_characteristics_.softwareEnforced, ttag)); in CheckKm0CryptoParam() 865 EXPECT_TRUE(contains(key_characteristics_.softwareEnforced, ttag, expected)); in CheckKm0CryptoParam() 866 EXPECT_FALSE(contains(key_characteristics_.teeEnforced, ttag)); in CheckKm0CryptoParam() 874 EXPECT_TRUE(contains(key_characteristics_.teeEnforced, ttag, expected)); in CheckKm1CryptoParam() 875 EXPECT_FALSE(contains(key_characteristics_.softwareEnforced, ttag)); in CheckKm1CryptoParam() 877 EXPECT_TRUE(contains(key_characteristics_.softwareEnforced, ttag, expected)); in CheckKm1CryptoParam() 878 EXPECT_FALSE(contains(key_characteristics_.teeEnforced, ttag)); in CheckKm1CryptoParam() [all …]
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 687 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P() 709 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P() 776 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P() 810 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P() 1851 EXPECT_TRUE(contains(key_characteristics_.hardwareEnforced, ttag, expected)) in CheckCryptoParam() 1853 EXPECT_FALSE(contains(key_characteristics_.softwareEnforced, ttag)) in CheckCryptoParam() 1856 EXPECT_TRUE(contains(key_characteristics_.softwareEnforced, ttag, expected)) in CheckCryptoParam() 1858 EXPECT_FALSE(contains(key_characteristics_.hardwareEnforced, ttag)) in CheckCryptoParam() 1867 contains(key_characteristics_.hardwareEnforced, TAG_ORIGIN, KeyOrigin::IMPORTED)); in CheckOrigin() 1870 contains(key_characteristics_.softwareEnforced, TAG_ORIGIN, KeyOrigin::IMPORTED)); in CheckOrigin() [all …]
|
D | KeymasterHidlTest.cpp | 94 return GenerateKey(key_desc, &key_blob_, &key_characteristics_); in GenerateKey() 121 return ImportKey(key_desc, format, key_material, &key_blob_, &key_characteristics_); in ImportKey() 138 key_characteristics_ = hidl_key_characteristics; in ImportWrappedKey()
|
D | KeymasterHidlTest.h | 218 KeyCharacteristics key_characteristics_; variable
|
/hardware/interfaces/keymaster/4.0/vts/performance/ |
D | Benchmark.cpp | 116 KeyCharacteristics key_characteristics_; member in android::hardware::keymaster::V4_0::test::KeymasterWrapper 132 key_characteristics_ = std::move(hidl_key_characteristics); in GenerateKey()
|