/system/security/keystore/include/keystore/ |
D | keymaster_types.h | 32 namespace keymaster = ::android::hardware::keymaster::V4_0; variable 37 using keymaster::IKeymasterDevice; 38 using keymaster::SecurityLevel; 40 using keymaster::AuthorizationSet; 41 using keymaster::AuthorizationSetBuilder; 43 using keymaster::Algorithm; 44 using keymaster::BlockMode; 45 using keymaster::Digest; 46 using keymaster::EcCurve; 47 using keymaster::ErrorCode; [all …]
|
D | keystore_client_mock.h | 40 const keymaster::AuthorizationSet& input_parameters, 42 keymaster::AuthorizationSet* output_parameters, std::string* output_data)); 46 const keymaster::AuthorizationSet& key_parameters, 47 keymaster::AuthorizationSet* hardware_enforced_characteristics, 48 keymaster::AuthorizationSet* software_enforced_characteristics)); 51 keymaster::AuthorizationSet* hardware_enforced_characteristics, 52 keymaster::AuthorizationSet* software_enforced_characteristics)); 55 const keymaster::AuthorizationSet& key_parameters, 57 keymaster::AuthorizationSet* hardware_enforced_characteristics, 58 keymaster::AuthorizationSet* software_enforced_characteristics)); [all …]
|
/system/keymaster/ng/include/ |
D | AndroidKeymaster4Device.h | 25 namespace keymaster { 36 using ::android::hardware::keymaster::V4_0::ErrorCode; 37 using ::android::hardware::keymaster::V4_0::HardwareAuthenticatorType; 38 using ::android::hardware::keymaster::V4_0::HardwareAuthToken; 39 using ::android::hardware::keymaster::V4_0::HmacSharingParameters; 40 using ::android::hardware::keymaster::V4_0::IKeymasterDevice; 41 using ::android::hardware::keymaster::V4_0::KeyCharacteristics; 42 using ::android::hardware::keymaster::V4_0::KeyFormat; 43 using ::android::hardware::keymaster::V4_0::KeyParameter; 44 using ::android::hardware::keymaster::V4_0::KeyPurpose; [all …]
|
D | AndroidKeymaster3Device.h | 30 namespace keymaster { 36 using ::android::hardware::keymaster::V3_0::ErrorCode; 37 using ::android::hardware::keymaster::V3_0::IKeymasterDevice; 38 using ::android::hardware::keymaster::V3_0::KeyCharacteristics; 39 using ::android::hardware::keymaster::V3_0::KeyFormat; 40 using ::android::hardware::keymaster::V3_0::KeyParameter; 41 using ::android::hardware::keymaster::V3_0::KeyPurpose; 94 std::unique_ptr<::keymaster::AndroidKeymaster> impl_;
|
D | keymaster_tags.h | 66 namespace keymaster { 69 using ::android::hardware::keymaster::V3_0::Algorithm; 70 using ::android::hardware::keymaster::V3_0::BlockMode; 71 using ::android::hardware::keymaster::V3_0::Digest; 72 using ::android::hardware::keymaster::V3_0::EcCurve; 73 using ::android::hardware::keymaster::V3_0::ErrorCode; 74 using ::android::hardware::keymaster::V3_0::HardwareAuthToken; 75 using ::android::hardware::keymaster::V3_0::HardwareAuthenticatorType; 76 using ::android::hardware::keymaster::V3_0::IKeymasterDevice; 77 using ::android::hardware::keymaster::V3_0::KeyBlobUsageRequirements; [all …]
|
/system/security/keystore/ |
D | key_store_service.h | 107 const ::android::security::keymaster::KeymasterArguments& arguments, 109 ::android::security::keymaster::KeyCharacteristics* characteristics, 113 const ::android::security::keymaster::KeymasterBlob& clientId, 114 const ::android::security::keymaster::KeymasterBlob& appId, int32_t uid, 115 ::android::security::keymaster::KeyCharacteristics* characteristics, 119 const ::android::security::keymaster::KeymasterArguments& arguments, int32_t format, 121 ::android::security::keymaster::KeyCharacteristics* characteristics, 125 const ::android::security::keymaster::KeymasterBlob& clientId, 126 const ::android::security::keymaster::KeymasterBlob& appId, int32_t uid, 127 ::android::security::keymaster::ExportResult* _aidl_return) override; [all …]
|
D | Android.bp | 47 "android.hardware.keymaster@3.0", 48 "android.hardware.keymaster@4.0", 92 "android.hardware.keymaster@4.0", 119 "android.hardware.keymaster@4.0", 147 "android.hardware.keymaster@4.0", 158 "android.hardware.keymaster@4.0", 177 "android.hardware.keymaster@4.0", 199 "android.hardware.keymaster@4.0", 239 "android.hardware.keymaster@4.0", 246 "android.hardware.keymaster@4.0",
|
D | legacy_keymaster_device_wrapper.h | 31 using ::android::hardware::keymaster::V3_0::ErrorCode; 32 using ::android::hardware::keymaster::V3_0::IKeymasterDevice; 33 using ::android::hardware::keymaster::V3_0::KeyCharacteristics; 34 using ::android::hardware::keymaster::V3_0::KeyFormat; 35 using ::android::hardware::keymaster::V3_0::KeyParameter; 36 using ::android::hardware::keymaster::V3_0::KeyPurpose; 37 using ::android::hardware::keymaster::V3_0::Tag;
|
D | keystore_main.cpp | 53 using ::android::hardware::keymaster::V4_0::SecurityLevel; 54 using ::android::hardware::keymaster::V4_0::HmacSharingParameters; 55 using ::android::hardware::keymaster::V4_0::ErrorCode; 57 using ::keystore::keymaster::support::Keymaster; 58 using ::keystore::keymaster::support::Keymaster3; 59 using ::keystore::keymaster::support::Keymaster4;
|
D | keystore_client_impl.cpp | 47 using android::security::keymaster::ExportResult; 48 using android::security::keymaster::OperationResult; 194 ::android::security::keymaster::KeyCharacteristics characteristics; in generateKey() 197 key_name16, ::android::security::keymaster::KeymasterArguments(key_parameters.hidl_data()), in generateKey() 214 ::android::security::keymaster::KeyCharacteristics characteristics; in getKeyCharacteristics() 217 key_name16, android::security::keymaster::KeymasterBlob(), in getKeyCharacteristics() 218 android::security::keymaster::KeymasterBlob(), kDefaultUID, &characteristics, &result); in getKeyCharacteristics() 235 ::android::security::keymaster::KeyCharacteristics characteristics; in importKey() 238 key_name16, ::android::security::keymaster::KeymasterArguments(key_parameters.hidl_data()), in importKey() 254 key_name16, (int)export_format, android::security::keymaster::KeymasterBlob(), in exportKey() [all …]
|
D | OperationResult.cpp | 30 namespace keymaster { namespace 32 using keystore::keymaster::ErrorCode;
|
/system/keymaster/ng/ |
D | AndroidKeymaster3Device.cpp | 37 using ::keymaster::AddEntropyRequest; 38 using ::keymaster::AddEntropyResponse; 39 using ::keymaster::AttestKeyRequest; 40 using ::keymaster::AttestKeyResponse; 41 using ::keymaster::AuthorizationSet; 42 using ::keymaster::ExportKeyRequest; 43 using ::keymaster::ExportKeyResponse; 44 using ::keymaster::GenerateKeyRequest; 45 using ::keymaster::GenerateKeyResponse; 46 using ::keymaster::GetKeyCharacteristicsRequest; [all …]
|
D | AndroidKeymaster4Device.cpp | 33 namespace keymaster { namespace 135 inline hidl_vec<uint8_t> kmBuffer2hidlVec(const ::keymaster::Buffer& buf) { in kmBuffer2hidlVec() 200 ::keymaster::AuthorizationSet* params) { in addClientAndAppData() 203 params->push_back(::keymaster::TAG_APPLICATION_ID, clientId.data(), clientId.size()); in addClientAndAppData() 206 params->push_back(::keymaster::TAG_APPLICATION_DATA, appData.data(), appData.size()); in addClientAndAppData() 213 : impl_(new ::keymaster::AndroidKeymaster( in AndroidKeymaster4Device() 233 ::android::hardware::keymaster::V4_0::HmacSharingParameters params; in getHmacSharingParameters() 243 const hidl_vec<::android::hardware::keymaster::V4_0::HmacSharingParameters>& params, in computeSharedHmac() 246 request.params_array.params_array = new keymaster::HmacSharingParameters[params.size()]; in computeSharedHmac() 267 const ::android::hardware::keymaster::V4_0::HardwareAuthToken& authToken, in verifyAuthorization() [all …]
|
/system/vold/ |
D | KeyStorage.cpp | 105 static bool generateKeymasterKey(Keymaster& keymaster, const KeyAuthentication& auth, in generateKeymasterKey() argument 126 return keymaster.generateKey(paramBuilder, key); in generateKeymasterKey() 201 static KeymasterOperation begin(Keymaster& keymaster, const std::string& dir, in begin() argument 212 auto opHandle = keymaster.begin(purpose, kmKey, inParams, authToken, outParams); in begin() 219 if (!keymaster.upgradeKey(kmKey, keyParams, &newKey)) return KeymasterOperation(); in begin() 226 if (!keymaster.deleteKey(kmKey)) { in begin() 234 static bool encryptWithKeymasterKey(Keymaster& keymaster, const std::string& dir, in encryptWithKeymasterKey() argument 241 begin(keymaster, dir, km::KeyPurpose::ENCRYPT, keyParams, opParams, authToken, &outParams); in encryptWithKeymasterKey() 262 static bool decryptWithKeymasterKey(Keymaster& keymaster, const std::string& dir, in decryptWithKeymasterKey() argument 271 begin(keymaster, dir, km::KeyPurpose::DECRYPT, keyParams, opParams, authToken, nullptr); in decryptWithKeymasterKey() [all …]
|
D | Android.bp | 40 "android.hardware.keymaster@3.0", 41 "android.hardware.keymaster@4.0", 202 "android.hardware.keymaster@3.0", 203 "android.hardware.keymaster@4.0",
|
/system/security/keystore/binder/android/security/ |
D | IKeystoreService.aidl | 19 import android.security.keymaster.ExportResult; 20 import android.security.keymaster.KeyCharacteristics; 21 import android.security.keymaster.KeymasterArguments; 22 import android.security.keymaster.KeymasterCertificateChain; 23 import android.security.keymaster.KeymasterBlob; 24 import android.security.keymaster.OperationResult;
|
/system/keymaster/android_keymaster/ |
D | keymaster_configuration.cpp | 36 namespace keymaster { namespace 67 .Authorization(keymaster::TAG_OS_VERSION, os_version) in ConfigureDevice() 68 .Authorization(keymaster::TAG_OS_PATCHLEVEL, os_patchlevel)); in ConfigureDevice()
|
/system/core/trusty/keymaster/ |
D | trusty_keymaster_device_test.cpp | 39 static keymaster::AndroidKeymaster *impl_ = nullptr; 59 impl_ = new keymaster::AndroidKeymaster(new keymaster::SoftKeymasterContext(nullptr), 16); in trusty_keymaster_connect() 63 delete static_cast<keymaster::AndroidKeymaster*>(priv_); in trusty_keymaster_disconnect() 67 static int fake_call(keymaster::AndroidKeymaster* device, in fake_call() 68 void (keymaster::AndroidKeymaster::*method)(const Req&, Rsp*), void* in_buf, in fake_call() 86 return fake_call(impl_, &keymaster::AndroidKeymaster::GenerateKey, in_buf, in_size, in trusty_keymaster_call() 89 return fake_call(impl_, &keymaster::AndroidKeymaster::BeginOperation, in_buf, in_size, in trusty_keymaster_call() 92 return fake_call(impl_, &keymaster::AndroidKeymaster::UpdateOperation, in_buf, in_size, in trusty_keymaster_call() 95 return fake_call(impl_, &keymaster::AndroidKeymaster::FinishOperation, in_buf, in_size, in trusty_keymaster_call() 98 return fake_call(impl_, &keymaster::AndroidKeymaster::ImportKey, in_buf, in_size, out_buf, in trusty_keymaster_call() [all …]
|
/system/core/trusty/ |
D | Android.bp | 3 "keymaster",
|
/system/security/keystore/binder/android/security/keymaster/ |
D | ExportResult.aidl | 17 package android.security.keymaster;
|
D | KeymasterArguments.aidl | 17 package android.security.keymaster;
|
D | KeyCharacteristics.aidl | 17 package android.security.keymaster;
|
D | OperationResult.aidl | 17 package android.security.keymaster;
|
D | KeymasterBlob.aidl | 17 package android.security.keymaster;
|
D | KeymasterCertificateChain.aidl | 17 package android.security.keymaster;
|