Home
last modified time | relevance | path

Searched refs:key_characteristics_ (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp480 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/
Dkeymaster_hidl_hal_test.cpp780 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P()
802 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P()
869 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P()
903 CheckCharacteristics(key_blob_, key_characteristics_); in TEST_P()
1966 EXPECT_TRUE(contains(key_characteristics_.hardwareEnforced, ttag, expected)) in CheckCryptoParam()
1968 EXPECT_FALSE(contains(key_characteristics_.softwareEnforced, ttag)) in CheckCryptoParam()
1971 EXPECT_TRUE(contains(key_characteristics_.softwareEnforced, ttag, expected)) in CheckCryptoParam()
1973 EXPECT_FALSE(contains(key_characteristics_.hardwareEnforced, ttag)) in CheckCryptoParam()
1982 contains(key_characteristics_.hardwareEnforced, TAG_ORIGIN, KeyOrigin::IMPORTED)); in CheckOrigin()
1985 contains(key_characteristics_.softwareEnforced, TAG_ORIGIN, KeyOrigin::IMPORTED)); in CheckOrigin()
[all …]
DKeymasterHidlTest.cpp94 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()
DKeymasterHidlTest.h222 KeyCharacteristics key_characteristics_; variable
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintAidlTestBase.h334 vector<KeyCharacteristics> key_characteristics_; variable
339 return SecLevelAuthorizations(key_characteristics_); in SecLevelAuthorizations()
DKeyMintAidlTestBase.cpp234 return boot_patch_level(key_characteristics_); in boot_patch_level()
311 return GenerateKey(key_desc, &key_blob_, &key_characteristics_); in GenerateKey()
424 return ImportKey(key_desc, format, key_material, &key_blob_, &key_characteristics_); in ImportKey()
434 key_characteristics_.clear(); in ImportWrappedKey()
448 key_characteristics_ = std::move(creationResult.keyCharacteristics); in ImportWrappedKey()
452 for (auto& entry : key_characteristics_) { in ImportWrappedKey()
2110 key_characteristics_, expected_mgf_digests, is_mgf_digest_expected); in assert_mgf_digests_present_or_not_in_key_characteristics()
DKeyMintTest.cpp2215 AuthorizationSet hw_enforced = HwEnforcedAuthorizations(key_characteristics_); in TEST_P()
2216 AuthorizationSet sw_enforced = SwEnforcedAuthorizations(key_characteristics_); in TEST_P()
2876 &key_characteristics_, &cert_chain_)); in TEST_P()
2899 &key_characteristics_, &cert_chain_)); in TEST_P()
2984 CheckAppIdCharacteristics(key_blob_, "clientid", "appdata", key_characteristics_); in TEST_P()
3596 CheckAppIdCharacteristics(key_blob_, "clientid", "appdata", key_characteristics_); in TEST_P()
3963 for (auto& entry : key_characteristics_) { in CheckCryptoParam()
5576 const auto& hw_auths = SecLevelAuthorizations(key_characteristics_); in TEST_P()
7939 for (auto& entry : key_characteristics_) { in TEST_P()
7948 AuthorizationSet hardware_auths = HwEnforcedAuthorizations(key_characteristics_); in TEST_P()
[all …]
/hardware/interfaces/keymaster/4.0/vts/performance/
DBenchmark.cpp116 KeyCharacteristics key_characteristics_; member in android::hardware::keymaster::V4_0::test::KeymasterWrapper
132 key_characteristics_ = std::move(hidl_key_characteristics); in GenerateKey()
/hardware/interfaces/security/keymint/aidl/vts/performance/
DKeyMintBenchmark.cpp501 vector<KeyCharacteristics> key_characteristics_; member in aidl::android::hardware::security::keymint::test::KeyMintBenchmarkTest