Home
last modified time | relevance | path

Searched refs:securityLevel (Results 1 – 25 of 32) sorted by relevance

12

/hardware/interfaces/keymaster/4.1/support/include/keymasterV4_1/
DKeymaster.h54 SecurityLevel securityLevel; member
58 auto lhs = std::tie(securityLevel, majorVersion, minorVersion, supportsEc);
59 auto rhs = std::tie(other.securityLevel, other.majorVersion, other.minorVersion,
/hardware/interfaces/keymaster/4.1/support/
DKeymaster4.cpp26 auto rc = km4_0_dev_->getHardwareInfo([&](SecurityLevel securityLevel, in getVersionIfNeeded()
33 securityLevel, in getVersionIfNeeded()
DKeymaster3.cpp122 if (version_.securityLevel == SecurityLevel::SOFTWARE) { in getVersionIfNeeded()
135 _hidl_cb(version_.securityLevel, in getHardwareInfo()
DKeymaster.cpp79 << " SecurityLevel: " << toString(version.securityLevel) in operator <<()
/hardware/interfaces/keymaster/4.0/vts/functional/
DVerificationTokenTest.cpp92 EXPECT_EQ(SecLevel(), result1.token.securityLevel); in TEST_P()
106 EXPECT_EQ(SecLevel(), result2.token.securityLevel); in TEST_P()
152 EXPECT_EQ(SecLevel(), result1.token.securityLevel); in TEST_P()
167 EXPECT_EQ(SecLevel(), result2.token.securityLevel); in TEST_P()
/hardware/interfaces/keymaster/aidl/aidl_api/android.hardware.keymaster/2/android/hardware/keymaster/
DVerificationToken.aidl23 android.hardware.keymaster.SecurityLevel securityLevel;
/hardware/interfaces/keymaster/aidl/android/hardware/keymaster/
DVerificationToken.aidl46 SecurityLevel securityLevel = SecurityLevel.SOFTWARE;
/hardware/interfaces/keymaster/aidl/aidl_api/android.hardware.keymaster/current/android/hardware/keymaster/
DVerificationToken.aidl23 …android.hardware.keymaster.SecurityLevel securityLevel = android.hardware.keymaster.SecurityLevel.…
/hardware/interfaces/security/keymint/aidl/android/hardware/security/keymint/
DKeyCharacteristics.aidl35 SecurityLevel securityLevel = SecurityLevel.SOFTWARE;
DKeyParameterValue.aidl45 SecurityLevel securityLevel;
/hardware/interfaces/keymaster/aidl/aidl_api/android.hardware.keymaster/3/android/hardware/keymaster/
DVerificationToken.aidl39 …android.hardware.keymaster.SecurityLevel securityLevel = android.hardware.keymaster.SecurityLevel.…
/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/current/android/hardware/security/keymint/
DKeyCharacteristics.aidl38 …android.hardware.security.keymint.SecurityLevel securityLevel = android.hardware.security.keymint.…
DKeyMintHardwareInfo.aidl39 …android.hardware.security.keymint.SecurityLevel securityLevel = android.hardware.security.keymint.…
DKeyParameterValue.aidl47 android.hardware.security.keymint.SecurityLevel securityLevel;
/hardware/interfaces/security/keymint/aidl/aidl_api/android.hardware.security.keymint/1/android/hardware/security/keymint/
DKeyCharacteristics.aidl38 …android.hardware.security.keymint.SecurityLevel securityLevel = android.hardware.security.keymint.…
DKeyMintHardwareInfo.aidl39 …android.hardware.security.keymint.SecurityLevel securityLevel = android.hardware.security.keymint.…
DKeyParameterValue.aidl47 android.hardware.security.keymint.SecurityLevel securityLevel;
/hardware/interfaces/drm/1.4/vts/functional/
Ddrm_hal_test.cpp67 auto securityLevel = static_cast<SecurityLevel>(level); in OpenSession() local
68 res = drmPlugin->openSession_1_1(securityLevel, cb); in OpenSession()
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintAidlTestBase.cpp83 if (entry.securityLevel == SecurityLevel::KEYSTORE) continue; in KeyCharacteristicsBasicallyValid()
85 if (levels_seen.find(entry.securityLevel) != levels_seen.end()) return false; in KeyCharacteristicsBasicallyValid()
86 levels_seen.insert(entry.securityLevel); in KeyCharacteristicsBasicallyValid()
91 bool isExpectedSecurityLevel = secLevel == entry.securityLevel || in KeyCharacteristicsBasicallyValid()
93 entry.securityLevel == SecurityLevel::TRUSTED_ENVIRONMENT); in KeyCharacteristicsBasicallyValid()
151 return entry.securityLevel == SecurityLevel::KEYSTORE; in strip_keystore_tags()
207 securityLevel_ = info.securityLevel; in InitializeKeyMint()
1188 [this](auto& entry) { return entry.securityLevel == SecLevel(); }); in SecLevelAuthorizations()
1193 const vector<KeyCharacteristics>& key_characteristics, SecurityLevel securityLevel) { in SecLevelAuthorizations() argument
1196 [securityLevel](auto& entry) { return entry.securityLevel == securityLevel; }); in SecLevelAuthorizations()
[all …]
/hardware/interfaces/security/keymint/support/include/keymint_support/
Dkey_param_output.h88 os << value.securityLevel << ": " << entry;
Dkeymint_tags.h248 MAKE_TAG_ENUM_VALUE_ACCESSOR(TAG_HARDWARE_TYPE, securityLevel)
/hardware/interfaces/keymaster/4.0/support/
Dkeymaster_utils.cpp158 appendUint32(serializedToken, uint32_t(token.securityLevel)); in serializeVerificationToken()
174 token.securityLevel = SecurityLevel(extractUint32(serializedToken, 16)); in deserializeVerificationToken()
/hardware/interfaces/identity/aidl/vts/
DReaderAuthTests.cpp336 verificationToken.securityLevel = ::android::hardware::keymaster::SecurityLevel::SOFTWARE; in retrieveData()
579 verificationToken.securityLevel = in TEST_P()
/hardware/interfaces/keymaster/4.0/vts/performance/
DBenchmark.cpp164 keymaster_->getHardwareInfo([&](SecurityLevel securityLevel, const hidl_string& name, in KeymasterWrapper()
166 securityLevel_ = securityLevel; in KeymasterWrapper()
/hardware/interfaces/drm/1.1/
DIDrmPlugin.hal47 * drm@1.0 openSession is called, which has no securityLevel parameter, the
62 openSession_1_1(SecurityLevel securityLevel) generates (Status status,

12