/hardware/interfaces/keymaster/4.0/default/ |
D | service.cpp | 24 using android::hardware::keymaster::V4_0::SecurityLevel; 28 auto keymaster = ::keymaster::V4_0::ng::CreateKeymasterDevice(SecurityLevel::SOFTWARE); in main()
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | attestation_record.h | 45 SecurityLevel* attestation_security_level, 47 SecurityLevel* keymaster_security_level,
|
D | attestation_record.cpp | 259 SecurityLevel* attestation_security_level, in MAKE_OPENSSL_PTR_TYPE() 261 SecurityLevel* keymaster_security_level, in MAKE_OPENSSL_PTR_TYPE() 272 static_cast<SecurityLevel>(ASN1_ENUMERATED_get(record->attestation_security_level)); in MAKE_OPENSSL_PTR_TYPE() 275 static_cast<SecurityLevel>(ASN1_ENUMERATED_get(record->keymaster_security_level)); in MAKE_OPENSSL_PTR_TYPE()
|
D | keymaster_hidl_hal_test.cpp | 991 SecurityLevel att_attestation_security_level; in verify_attestation_record() 992 SecurityLevel att_keymaster_security_level; in verify_attestation_record() 1026 EXPECT_EQ(KeymasterHidlTest::IsSecure() ? SecurityLevel::TRUSTED_ENVIRONMENT in verify_attestation_record() 1027 : SecurityLevel::SOFTWARE, in verify_attestation_record() 1029 EXPECT_EQ(KeymasterHidlTest::SupportsAttestation() ? SecurityLevel::TRUSTED_ENVIRONMENT in verify_attestation_record() 1030 : SecurityLevel::SOFTWARE, in verify_attestation_record()
|
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/ |
D | attestation_record.h | 54 SecurityLevel* attestation_security_level, 56 SecurityLevel* keymaster_security_level,
|
D | Keymaster.h | 53 SecurityLevel securityLevel;
|
D | key_param_output.h | 56 inline ::std::ostream& operator<<(::std::ostream& os, SecurityLevel value) {
|
/hardware/interfaces/drm/1.1/vts/functional/ |
D | drm_hal_clearkey_test.cpp | 64 using ::android::hardware::drm::V1_1::SecurityLevel; 65 using ::android::hardware::drm::V1_1::SecurityLevel; 168 SessionId openSession(SecurityLevel level); 289 SessionId DrmHalClearkeyTest::openSession(SecurityLevel level) { in openSession() 375 auto res = drmPlugin->openSession_1_1(SecurityLevel::HW_SECURE_ALL, in TEST_F() 510 SecurityLevel defaultLevel; in TEST_F() 512 [&](Status status, SecurityLevel level) { in TEST_F() 521 [&](Status status, SecurityLevel level) { in TEST_F() 534 SessionId session = openSession(SecurityLevel::SW_SECURE_CRYPTO); in TEST_F() 536 [&](Status status, SecurityLevel level) { in TEST_F() [all …]
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | KeymasterHidlTest.cpp | 48 SecurityLevel KeymasterHidlTest::securityLevel_; 58 ->getHardwareInfo([&](SecurityLevel securityLevel, const hidl_string& name, in SetUpTestCase() 651 case SecurityLevel::TRUSTED_ENVIRONMENT: in ValidKeySizes() 653 case SecurityLevel::STRONGBOX: in ValidKeySizes() 662 case SecurityLevel::TRUSTED_ENVIRONMENT: in ValidKeySizes() 664 case SecurityLevel::STRONGBOX: in ValidKeySizes() 689 if (SecLevel() == SecurityLevel::TRUSTED_ENVIRONMENT) return {}; in InvalidKeySizes() 690 CHECK(SecLevel() == SecurityLevel::STRONGBOX); in InvalidKeySizes() 704 if (securityLevel_ == SecurityLevel::STRONGBOX) { in ValidCurves() 712 if (SecLevel() == SecurityLevel::TRUSTED_ENVIRONMENT) return {}; in InvalidCurves() [all …]
|
D | KeymasterHidlTest.h | 213 static bool IsSecure() { return securityLevel_ != SecurityLevel::SOFTWARE; } in IsSecure() 214 static SecurityLevel SecLevel() { return securityLevel_; } in SecLevel() 235 static SecurityLevel securityLevel_;
|
D | VerificationTokenTest.cpp | 84 if (SecLevel() == SecurityLevel::STRONGBOX) { in TEST_F()
|
D | keymaster_hidl_hal_test.cpp | 321 AuthorizationSet expected_hw_enforced, SecurityLevel security_level, in verify_attestation_record() 336 SecurityLevel att_attestation_security_level; in verify_attestation_record() 337 SecurityLevel att_keymaster_security_level; in verify_attestation_record() 691 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_F() 723 if (SecLevel() == SecurityLevel::STRONGBOX) { in TEST_F() 846 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_F() 1000 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_F() 1085 if (SecLevel() == SecurityLevel::STRONGBOX) return; in TEST_F() 1501 if (SecLevel() != SecurityLevel::STRONGBOX) { in TEST_F() 1535 if (SecLevel() != SecurityLevel::STRONGBOX) { in TEST_F() [all …]
|
/hardware/interfaces/keymaster/4.0/support/ |
D | Keymaster4.cpp | 32 dev_->getHardwareInfo([&](SecurityLevel securityLevel, const hidl_string& keymasterName, in getVersionIfNeeded()
|
D | attestation_record.cpp | 279 SecurityLevel* attestation_security_level, in MAKE_OPENSSL_PTR_TYPE() 281 SecurityLevel* keymaster_security_level, in MAKE_OPENSSL_PTR_TYPE() 292 static_cast<SecurityLevel>(ASN1_ENUMERATED_get(record->attestation_security_level)); in MAKE_OPENSSL_PTR_TYPE() 295 static_cast<SecurityLevel>(ASN1_ENUMERATED_get(record->keymaster_security_level)); in MAKE_OPENSSL_PTR_TYPE()
|
D | Keymaster3.cpp | 114 isSecure ? SecurityLevel::TRUSTED_ENVIRONMENT : SecurityLevel::SOFTWARE, in getVersionIfNeeded() 123 if (version_.securityLevel == SecurityLevel::SOFTWARE) { in getVersionIfNeeded()
|
/hardware/interfaces/drm/1.2/ |
D | IDrmFactory.hal | 20 import @1.1::SecurityLevel; 50 @1.1::SecurityLevel securityLevel) generates(bool isSupported);
|
/hardware/interfaces/drm/1.2/vts/functional/ |
D | drm_hal_test.cpp | 28 using ::android::hardware::drm::V1_1::SecurityLevel; 49 static const SecurityLevel kSwSecureCrypto = SecurityLevel::SW_SECURE_CRYPTO; 424 const SecurityLevel kHwSecureAll = SecurityLevel::HW_SECURE_ALL; in TEST_P()
|
/hardware/interfaces/drm/1.1/ |
D | IDrmPlugin.hal | 28 import @1.1::SecurityLevel; 62 openSession_1_1(SecurityLevel securityLevel) generates (Status status, 178 SecurityLevel level);
|
D | types.hal | 177 enum SecurityLevel : uint32_t {
|
/hardware/interfaces/keymaster/4.0/ |
D | IKeymasterDevice.hal | 58 * are identified by the SecurityLevel TRUSTED_ENVIRONMENT. 62 * units (SPU). StrongBox environments are identified by the SecurityLevel STRONGBOX. To 212 generates (SecurityLevel securityLevel, string keymasterName, string keymasterAuthorName); 686 * attestationSecurityLevel SecurityLevel, # See below 688 * keymasterSecurityLevel SecurityLevel, # See below 695 * SecurityLevel ::= ENUMERATED {
|
D | types.hal | 1112 enum SecurityLevel : uint32_t { 1153 SecurityLevel hardwareType; 1298 * SecurityLevel of the secure environment that generated the token. 1300 SecurityLevel securityLevel;
|
/hardware/interfaces/keymaster/3.0/ |
D | types.hal | 421 enum SecurityLevel : uint32_t {
|