/hardware/interfaces/keymaster/4.0/vts/performance/ |
D | Benchmark.cpp | 43 namespace keymaster { namespace 60 using android::hardware::keymaster::V4_0::AuthorizationSet; 61 using android::hardware::keymaster::V4_0::AuthorizationSetBuilder; 62 using android::hardware::keymaster::V4_0::BlockMode; 63 using android::hardware::keymaster::V4_0::ErrorCode; 64 using android::hardware::keymaster::V4_0::IKeymasterDevice; 65 using android::hardware::keymaster::V4_0::KeyCharacteristics; 66 using android::hardware::keymaster::V4_0::SecurityLevel; 160 KeymasterWrapper(const sp<IKeymasterDevice> keymaster) { in KeymasterWrapper() argument 161 os_version_ = ::keymaster::GetOsVersion(); in KeymasterWrapper() [all …]
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | openssl_utils.h | 34 inline const EVP_MD* openssl_digest(android::hardware::keymaster::V3_0::Digest digest) { in openssl_digest() 36 case android::hardware::keymaster::V3_0::Digest::NONE: in openssl_digest() 38 case android::hardware::keymaster::V3_0::Digest::MD5: in openssl_digest() 40 case android::hardware::keymaster::V3_0::Digest::SHA1: in openssl_digest() 42 case android::hardware::keymaster::V3_0::Digest::SHA_2_224: in openssl_digest() 44 case android::hardware::keymaster::V3_0::Digest::SHA_2_256: in openssl_digest() 46 case android::hardware::keymaster::V3_0::Digest::SHA_2_384: in openssl_digest() 48 case android::hardware::keymaster::V3_0::Digest::SHA_2_512: in openssl_digest()
|
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/ |
D | openssl_utils.h | 42 inline const EVP_MD* openssl_digest(android::hardware::keymaster::V4_0::Digest digest) { in openssl_digest() 44 case android::hardware::keymaster::V4_0::Digest::NONE: in openssl_digest() 46 case android::hardware::keymaster::V4_0::Digest::MD5: in openssl_digest() 48 case android::hardware::keymaster::V4_0::Digest::SHA1: in openssl_digest() 50 case android::hardware::keymaster::V4_0::Digest::SHA_2_224: in openssl_digest() 52 case android::hardware::keymaster::V4_0::Digest::SHA_2_256: in openssl_digest() 54 case android::hardware::keymaster::V4_0::Digest::SHA_2_384: in openssl_digest() 56 case android::hardware::keymaster::V4_0::Digest::SHA_2_512: in openssl_digest()
|
/hardware/interfaces/keymaster/4.1/support/ |
D | Keymaster.cpp | 58 namespace keymaster { namespace 76 std::ostream& operator<<(std::ostream& os, const Keymaster& keymaster) { in operator <<() argument 77 auto& version = keymaster.halVersion(); in operator <<() 80 << " HAL: " << keymaster.descriptor() << "/" << keymaster.instanceName(); in operator <<() 148 for (auto& keymaster : keymasters) { in getHmacParameters() local 149 if (keymaster->halVersion().majorVersion < 4) continue; in getHmacParameters() 150 auto rc = keymaster->getHmacSharingParameters([&](auto error, auto& params) { in getHmacParameters() 152 << "Failed to get HMAC parameters from " << *keymaster << " error " << error; in getHmacParameters() 155 CHECK(rc.isOk()) << "Failed to communicate with " << *keymaster in getHmacParameters() 170 for (auto& keymaster : keymasters) { in computeHmac() local [all …]
|
D | Android.bp | 33 "android.hardware.keymaster@3.0", 34 "android.hardware.keymaster@4.0", 35 "android.hardware.keymaster@4.1", 43 "android.hardware.keymaster@4.1",
|
/hardware/interfaces/keymaster/3.0/default/ |
D | Android.mk | 4 LOCAL_MODULE := android.hardware.keymaster@3.0-impl 20 android.hardware.keymaster@3.0 27 LOCAL_MODULE := android.hardware.keymaster@3.0-service 28 LOCAL_INIT_RC := android.hardware.keymaster@3.0-service.rc 40 android.hardware.keymaster@3.0
|
D | KeymasterDevice.cpp | 32 namespace keymaster { namespace 74 return ::keymaster::ng::CreateKeymasterDevice(); in createKeymaster3Device() 82 return ::keymaster::ng::CreateKeymasterDevice(dev); in createKeymaster3Device() 88 return ::keymaster::ng::CreateKeymasterDevice(dev); in createKeymaster3Device() 94 return ::keymaster::ng::CreateKeymasterDevice(dev); in createKeymaster3Device() 102 return ::keymaster::ng::CreateKeymasterDevice(); in HIDL_FETCH_IKeymasterDevice()
|
D | [email protected] | 1 service vendor.keymaster-3-0 /vendor/bin/hw/android.hardware.keymaster@3.0-service 2 interface android.hardware.keymaster@3.0::IKeymasterDevice default
|
/hardware/interfaces/keymaster/aidl/android/hardware/keymaster/ |
D | VerificationToken.aidl | 17 package android.hardware.keymaster; 19 import android.hardware.keymaster.SecurityLevel; 20 import android.hardware.keymaster.Timestamp; 21 import android.hardware.keymaster.HardwareAuthenticatorType;
|
D | HardwareAuthToken.aidl | 17 package android.hardware.keymaster; 19 import android.hardware.keymaster.Timestamp; 20 import android.hardware.keymaster.HardwareAuthenticatorType;
|
/hardware/interfaces/keymaster/4.1/default/ |
D | service.cpp | 23 using android::hardware::keymaster::V4_0::SecurityLevel; 27 auto keymaster = ::keymaster::V4_1::CreateKeymasterDevice(SecurityLevel::SOFTWARE); in main() local 28 auto status = keymaster->registerAsService(); in main()
|
D | [email protected] | 1 service vendor.keymaster-4-1 /vendor/bin/hw/android.hardware.keymaster@4.1-service 2 interface android.hardware.keymaster@4.0::IKeymasterDevice default 3 interface android.hardware.keymaster@4.1::IKeymasterDevice default
|
D | Android.bp | 18 name: "android.hardware.keymaster@4.1-service", 22 init_rc: ["android.hardware.keymaster@4.1-service.rc"], 23 vintf_fragments: ["android.hardware.keymaster@4.1-service.xml"], 27 "android.hardware.keymaster@4.0", 28 "android.hardware.keymaster@4.1",
|
/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() local 29 auto status = keymaster->registerAsService(); in main()
|
D | [email protected] | 1 service vendor.keymaster-4-0 /vendor/bin/hw/android.hardware.keymaster@4.0-service 2 interface android.hardware.keymaster@4.0::IKeymasterDevice default
|
/hardware/interfaces/identity/aidl/vts/ |
D | VtsAttestationParserSupport.cpp | 34 using ::keymaster::ASN1_OBJECT_Ptr; 35 using ::keymaster::AuthorizationSet; 36 using ::keymaster::EVP_PKEY_Ptr; 37 using ::keymaster::kAttestionRecordOid; 38 using ::keymaster::TAG_ATTESTATION_APPLICATION_ID; 39 using ::keymaster::TAG_IDENTITY_CREDENTIAL_KEY; 40 using ::keymaster::TAG_INCLUDE_UNIQUE_ID; 41 using ::keymaster::TypedTag; 42 using ::keymaster::X509_Ptr;
|
D | Android.bp | 25 "android.hardware.keymaster@4.0", 28 "android.hardware.keymaster-cpp", 29 "android.hardware.keymaster-ndk_platform",
|
/hardware/interfaces/keymaster/aidl/aidl_api/android.hardware.keymaster/2/android/hardware/keymaster/ |
D | VerificationToken.aidl | 18 package android.hardware.keymaster; 22 android.hardware.keymaster.Timestamp timestamp; 23 android.hardware.keymaster.SecurityLevel securityLevel;
|
D | HardwareAuthToken.aidl | 18 package android.hardware.keymaster; 24 android.hardware.keymaster.HardwareAuthenticatorType authenticatorType; 25 android.hardware.keymaster.Timestamp timestamp;
|
/hardware/interfaces/keymaster/aidl/aidl_api/android.hardware.keymaster/current/android/hardware/keymaster/ |
D | VerificationToken.aidl | 18 package android.hardware.keymaster; 22 android.hardware.keymaster.Timestamp timestamp; 23 android.hardware.keymaster.SecurityLevel securityLevel;
|
D | HardwareAuthToken.aidl | 18 package android.hardware.keymaster; 24 android.hardware.keymaster.HardwareAuthenticatorType authenticatorType; 25 android.hardware.keymaster.Timestamp timestamp;
|
/hardware/interfaces/keymaster/aidl/aidl_api/android.hardware.keymaster/1/android/hardware/keymaster/ |
D | HardwareAuthToken.aidl | 18 package android.hardware.keymaster; 24 android.hardware.keymaster.HardwareAuthenticatorType authenticatorType; 25 android.hardware.keymaster.Timestamp timestamp;
|
/hardware/interfaces/keymaster/4.1/ |
D | Android.bp | 4 name: "android.hardware.keymaster@4.1", 14 "android.hardware.keymaster@3.0", 15 "android.hardware.keymaster@4.0",
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | HmacKeySharingTest.cpp | 21 namespace keymaster { namespace 57 GetParamsResult getHmacSharingParameters(IKeymasterDevice& keymaster) { in getHmacSharingParameters() argument 59 EXPECT_TRUE(keymaster in getHmacSharingParameters() 69 for (auto& keymaster : keymasters) { in getHmacSharingParameters() local 70 auto result = getHmacSharingParameters(*keymaster); in getHmacSharingParameters() 77 ComputeHmacResult computeSharedHmac(IKeymasterDevice& keymaster, in computeSharedHmac() argument 80 EXPECT_TRUE(keymaster in computeSharedHmac() 92 for (auto& keymaster : keymasters) { in computeSharedHmac() local 93 resultVec.push_back(computeSharedHmac(*keymaster, paramsVec)); in computeSharedHmac() 120 auto result1 = getHmacSharingParameters(keymaster()); in TEST_P() [all …]
|
/hardware/qcom/keymaster/ |
D | Android.mk | 7 keymaster-def := -fvisibility=hidden -Wall 9 keymaster-def += -D_ION_HEAP_MASK_COMPATIBILITY_WA 22 LOCAL_CFLAGS := $(keymaster-def)
|