Home
last modified time | relevance | path

Searched refs:SecLevel (Results 1 – 8 of 8) sorted by relevance

/hardware/interfaces/keymaster/4.0/vts/functional/
DVerificationTokenTest.cpp84 if (SecLevel() == SecurityLevel::STRONGBOX) { in TEST_P()
92 EXPECT_EQ(SecLevel(), result1.token.securityLevel); in TEST_P()
106 EXPECT_EQ(SecLevel(), result2.token.securityLevel); in TEST_P()
144 if (SecLevel() == SecurityLevel::STRONGBOX) { in TEST_P()
152 EXPECT_EQ(SecLevel(), result1.token.securityLevel); in TEST_P()
167 EXPECT_EQ(SecLevel(), result2.token.securityLevel); in TEST_P()
Dkeymaster_hidl_hal_test.cpp754 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
786 if (SecLevel() == SecurityLevel::STRONGBOX) { in TEST_P()
909 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
945 if (key_size == 192 && SecLevel() == SecurityLevel::STRONGBOX && firstApiLevel < 31) { in TEST_P()
1086 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
1171 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
1587 if (SecLevel() != SecurityLevel::STRONGBOX) { in TEST_P()
1621 if (SecLevel() != SecurityLevel::STRONGBOX) { in TEST_P()
1991 if (SecLevel() == SecurityLevel::STRONGBOX) { in TEST_P()
2130 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
[all …]
DKeymasterHidlTest.h206 SecurityLevel SecLevel() { return securityLevel_; } in SecLevel() function
/hardware/interfaces/security/keymint/aidl/vts/functional/
DDeviceUniqueAttestationTest.cpp56 SecLevel(), cert_chain_[0].encodedCertificate)); in CheckUniqueAttestationResults()
67 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
95 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
122 if (SecLevel() != SecurityLevel::STRONGBOX) return; in TEST_P()
180 if (SecLevel() != SecurityLevel::STRONGBOX) return; in TEST_P()
233 if (SecLevel() != SecurityLevel::STRONGBOX) return; in TEST_P()
301 if (SecLevel() != SecurityLevel::STRONGBOX) return; in TEST_P()
DAttestKeyTest.cpp84 EXPECT_TRUE(verify_attestation_record("foo", "bar", sw_enforced, hw_enforced, SecLevel(), in TEST_P()
116 EXPECT_TRUE(verify_attestation_record("foo2", "bar2", sw_enforced, hw_enforced, SecLevel(), in TEST_P()
162 EXPECT_TRUE(verify_attestation_record("foo", "bar", sw_enforced, hw_enforced, SecLevel(), in TEST_P()
221 sw_enforced, hw_enforced, SecLevel(), in TEST_P()
255 EXPECT_TRUE(verify_attestation_record("foo", "bar", sw_enforced2, hw_enforced2, SecLevel(), in TEST_P()
316 EXPECT_TRUE(verify_attestation_record("foo", "bar", sw_enforced, hw_enforced, SecLevel(), in TEST_P()
388 EXPECT_TRUE(verify_attestation_record("foo", "bar", sw_enforced, hw_enforced, SecLevel(), in TEST_P()
477 EXPECT_TRUE(verify_attestation_record("foo", "bar", sw_enforced, hw_enforced, SecLevel(), in TEST_P()
590 EXPECT_TRUE(verify_attestation_record("foo", "bar", sw_enforced, hw_enforced, SecLevel(), in TEST_P()
620 EXPECT_TRUE(verify_attestation_record("foo", "bar", sw_enforced, hw_enforced, SecLevel(), in TEST_P()
[all …]
DKeyMintAidlTestBase.cpp238 EXPECT_PRED2(KeyCharacteristicsBasicallyValid, SecLevel(), in GenerateKey()
286 EXPECT_PRED2(KeyCharacteristicsBasicallyValid, SecLevel(), in ImportKey()
330 EXPECT_PRED2(KeyCharacteristicsBasicallyValid, SecLevel(), in ImportWrappedKey()
1013 switch (SecLevel()) { in ValidKeySizes()
1020 ADD_FAILURE() << "Invalid security level " << uint32_t(SecLevel()); in ValidKeySizes()
1046 if (SecLevel() == SecurityLevel::STRONGBOX) { in InvalidKeySizes()
1141 if (SecLevel() == SecurityLevel::STRONGBOX) { in InvalidCurves()
1149 switch (SecLevel()) { in ValidDigests()
1176 ADD_FAILURE() << "Invalid security level " << uint32_t(SecLevel()); in ValidDigests()
1188 [this](auto& entry) { return entry.securityLevel == SecLevel(); }); in SecLevelAuthorizations()
DKeyMintAidlTestBase.h269 SecurityLevel SecLevel() const { return securityLevel_; } in SecLevel() function
/hardware/interfaces/keymaster/4.1/vts/functional/
DDeviceUniqueAttestationTest.cpp222 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_P()
258 if (SecLevel() != SecurityLevel::STRONGBOX) return; in TEST_P()
302 SecLevel()); in TEST_P()
306 if (SecLevel() != SecurityLevel::STRONGBOX) return; in TEST_P()
349 SecLevel()); in TEST_P()
353 if (SecLevel() != SecurityLevel::STRONGBOX) return; in TEST_P()
408 hw_enforced, SecLevel()); in TEST_P()
413 if (SecLevel() != SecurityLevel::STRONGBOX) return; in TEST_P()