Home
last modified time | relevance | path

Searched refs:keymaster (Results 1 – 25 of 122) sorted by relevance

12345

/hardware/interfaces/keymaster/4.0/vts/performance/
DBenchmark.cpp43 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/
Dopenssl_utils.h34 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.1/support/
DKeymaster.cpp58 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 <<()
149 for (auto& keymaster : keymasters) { in getHmacParameters() local
150 if (keymaster->halVersion().majorVersion < 4) continue; in getHmacParameters()
151 auto rc = keymaster->getHmacSharingParameters([&](auto error, auto& params) { in getHmacParameters()
153 << "Failed to get HMAC parameters from " << *keymaster << " error " << error; in getHmacParameters()
156 CHECK(rc.isOk()) << "Failed to communicate with " << *keymaster in getHmacParameters()
171 for (auto& keymaster : keymasters) { in computeHmac() local
[all …]
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dopenssl_utils.h42 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/3.0/default/
DAndroid.mk4 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
DKeymasterDevice.cpp32 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()
Dandroid.hardware.keymaster@3.0-service.rc1 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/
DAndroid.bp2 name: "android.hardware.keymaster",
5 "android/hardware/keymaster/*.aidl",
24 // This is a reminder that the next version of keymaster should be frozen at
27 name: "android.hardware.keymaster-V3-java",
30 name: "android.hardware.keymaster-V4-java",
/hardware/interfaces/keymaster/aidl/android/hardware/keymaster/
DVerificationToken.aidl17 package android.hardware.keymaster;
19 import android.hardware.keymaster.SecurityLevel;
20 import android.hardware.keymaster.Timestamp;
21 import android.hardware.keymaster.HardwareAuthenticatorType;
DHardwareAuthToken.aidl17 package android.hardware.keymaster;
19 import android.hardware.keymaster.Timestamp;
20 import android.hardware.keymaster.HardwareAuthenticatorType;
/hardware/interfaces/keymaster/4.1/default/
Dservice.cpp23 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()
Dandroid.hardware.keymaster@4.1-service.rc1 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
DAndroid.bp18 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/
Dservice.cpp24 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()
Dandroid.hardware.keymaster@4.0-service.rc1 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/
DVtsAttestationParserSupport.cpp34 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;
DAndroid.bp25 "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/current/android/hardware/keymaster/
DVerificationToken.aidl18 package android.hardware.keymaster;
22 android.hardware.keymaster.Timestamp timestamp;
23 android.hardware.keymaster.SecurityLevel securityLevel;
DHardwareAuthToken.aidl18 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/2/android/hardware/keymaster/
DVerificationToken.aidl18 package android.hardware.keymaster;
22 android.hardware.keymaster.Timestamp timestamp;
23 android.hardware.keymaster.SecurityLevel securityLevel;
DHardwareAuthToken.aidl18 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/
DHardwareAuthToken.aidl18 package android.hardware.keymaster;
24 android.hardware.keymaster.HardwareAuthenticatorType authenticatorType;
25 android.hardware.keymaster.Timestamp timestamp;
/hardware/interfaces/keymaster/4.0/vts/functional/
DHmacKeySharingTest.cpp21 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/interfaces/keymaster/4.1/
DAndroid.bp4 name: "android.hardware.keymaster@4.1",
11 "android.hardware.keymaster@3.0",
12 "android.hardware.keymaster@4.0",
/hardware/qcom/keymaster/
DAndroid.mk7 keymaster-def := -fvisibility=hidden -Wall
9 keymaster-def += -D_ION_HEAP_MASK_COMPATIBILITY_WA
22 LOCAL_CFLAGS := $(keymaster-def)

12345