Home
last modified time | relevance | path

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

123456789

/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.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/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 <<()
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 …]
/hardware/interfaces/keymaster/aidl/aidl_api/android.hardware.keymaster/4/android/hardware/keymaster/
DVerificationToken.aidl34 package android.hardware.keymaster;
39 android.hardware.keymaster.Timestamp timestamp;
40 …android.hardware.keymaster.SecurityLevel securityLevel = android.hardware.keymaster.SecurityLevel.…
DHardwareAuthToken.aidl34 package android.hardware.keymaster;
41 …android.hardware.keymaster.HardwareAuthenticatorType authenticatorType = android.hardware.keymaste…
42 android.hardware.keymaster.Timestamp timestamp;
/hardware/interfaces/keymaster/aidl/aidl_api/android.hardware.keymaster/3/android/hardware/keymaster/
DVerificationToken.aidl34 package android.hardware.keymaster;
38 android.hardware.keymaster.Timestamp timestamp;
39 …android.hardware.keymaster.SecurityLevel securityLevel = android.hardware.keymaster.SecurityLevel.…
DHardwareAuthToken.aidl34 package android.hardware.keymaster;
40 …android.hardware.keymaster.HardwareAuthenticatorType authenticatorType = android.hardware.keymaste…
41 android.hardware.keymaster.Timestamp timestamp;
/hardware/interfaces/keymaster/aidl/aidl_api/android.hardware.keymaster/current/android/hardware/keymaster/
DVerificationToken.aidl34 package android.hardware.keymaster;
39 android.hardware.keymaster.Timestamp timestamp;
40 …android.hardware.keymaster.SecurityLevel securityLevel = android.hardware.keymaster.SecurityLevel.…
DHardwareAuthToken.aidl34 package android.hardware.keymaster;
41 …android.hardware.keymaster.HardwareAuthenticatorType authenticatorType = android.hardware.keymaste…
42 android.hardware.keymaster.Timestamp timestamp;
/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
/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/keymaster/3.0/default/
DAndroid.mk4 LOCAL_MODULE := android.hardware.keymaster@3.0-impl
23 android.hardware.keymaster@3.0
30 LOCAL_MODULE := android.hardware.keymaster@3.0-service
34 LOCAL_INIT_RC := android.hardware.keymaster@3.0-service.rc
46 android.hardware.keymaster@3.0
DKeymasterDevice.cpp31 namespace keymaster { namespace
63 return ::keymaster::ng::CreateKeymasterDevice(); in createKeymaster3Device()
73 return ::keymaster::ng::CreateKeymasterDevice(dev); in createKeymaster3Device()
79 return ::keymaster::ng::CreateKeymasterDevice(dev); in createKeymaster3Device()
87 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/biometrics/fingerprint/aidl/
DAndroid.bp18 "android.hardware.keymaster-V4",
34 "android.hardware.keymaster-V3",
41 "android.hardware.keymaster-V3",
48 "android.hardware.keymaster-V4",
55 "android.hardware.keymaster-V4",
/hardware/interfaces/identity/aidl/
DAndroid.bp17 "android.hardware.keymaster-V3",
34 "android.hardware.keymaster-V3",
41 "android.hardware.keymaster-V3",
48 "android.hardware.keymaster-V3",
55 "android.hardware.keymaster-V3",
62 "android.hardware.keymaster-V3",
/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/gatekeeper/aidl/software/
DSharedSecret.cpp60 keymaster::KeymasterKeyBlob key_agreement_key; in computeSharedSecret()
69 keymaster::KeymasterBlob label((uint8_t*)KEY_AGREEMENT_LABEL, strlen(KEY_AGREEMENT_LABEL)); in computeSharedSecret()
75 static_assert(sizeof(keymaster_blob_t) == sizeof(keymaster::KeymasterBlob)); in computeSharedSecret()
78 std::vector<keymaster::KeymasterBlob> context_blobs; in computeSharedSecret()
105 auto error = keymaster::ckdf(key_agreement_key, label, context_blobs_ptr, context_blobs.size(), in computeSharedSecret()
112 keymaster::HmacSha256 hmac_impl; in computeSharedSecret()
126 keymaster::KeymasterKeyBlob SoftSharedSecret::HmacKey() const { in HmacKey()
/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;
DHardwareAuthToken.aidl17 package android.hardware.keymaster;
19 import android.hardware.keymaster.HardwareAuthenticatorType;
20 import android.hardware.keymaster.Timestamp;

123456789