/aosp14/system/core/trusty/keymaster/keymint/ |
H A D | TrustyKeyMintDevice.cpp | 32 using keymaster::KeymasterBlob; 33 using keymaster::KeymasterKeyBlob; 34 using keymaster::TAG_APPLICATION_DATA; 35 using keymaster::TAG_APPLICATION_ID; 36 using keymaster::TAG_AUTH_TOKEN; 85 ::keymaster::AuthorizationSet* params) { in addClientAndAppData() 109 keymaster::AddEntropyRequest request(impl_->message_version()); in addRngEntropy() 121 keymaster::GenerateKeyRequest request(impl_->message_version()); in generateKey() 166 keymaster::ImportKeyRequest request(impl_->message_version()); in importKey() 242 keymaster::DeleteKeyRequest request(impl_->message_version()); in deleteKey() [all …]
|
H A D | TrustyKeyMintOperation.cpp | 31 using ::keymaster::AbortOperationRequest; 32 using ::keymaster::AbortOperationResponse; 33 using ::keymaster::FinishOperationRequest; 34 using ::keymaster::FinishOperationResponse; 35 using ::keymaster::TAG_ASSOCIATED_DATA; 36 using ::keymaster::TAG_AUTH_TOKEN; 37 using ::keymaster::TAG_CONFIRMATION_TOKEN; 38 using ::keymaster::UpdateOperationRequest; 39 using ::keymaster::UpdateOperationResponse;
|
H A D | TrustyRemotelyProvisionedComponentDevice.cpp | 29 using keymaster::GenerateCsrRequest; 30 using keymaster::GenerateCsrResponse; 31 using keymaster::GenerateCsrV2Request; 32 using keymaster::GenerateCsrV2Response; 33 using keymaster::GenerateRkpKeyRequest; 34 using keymaster::GenerateRkpKeyResponse; 35 using keymaster::GetHwInfoRequest; 36 using keymaster::GetHwInfoResponse; 37 using keymaster::KeymasterBlob;
|
H A D | service.cpp | 43 auto trustyKeymaster = std::make_shared<keymaster::TrustyKeymaster>(); in main() 44 int err = trustyKeymaster->Initialize(keymaster::KmVersion::KEYMINT_3); in main()
|
H A D | TrustySharedSecret.cpp | 37 keymaster::ComputeSharedHmacRequest request(impl_->message_version()); in computeSharedSecret() 38 request.params_array.params_array = new keymaster::HmacSharingParameters[params.size()]; in computeSharedSecret()
|
/aosp14/system/core/trusty/keymaster/include/trusty_keymaster/ |
H A D | TrustyKeymaster4Device.h | 25 namespace keymaster { 33 using ::android::hardware::keymaster::V4_0::ErrorCode; 35 using ::android::hardware::keymaster::V4_0::HardwareAuthToken; 37 using ::android::hardware::keymaster::V4_0::IKeymasterDevice; 39 using ::android::hardware::keymaster::V4_0::KeyFormat; 40 using ::android::hardware::keymaster::V4_0::KeyParameter; 41 using ::android::hardware::keymaster::V4_0::KeyPurpose; 42 using ::android::hardware::keymaster::V4_0::SecurityLevel; 43 using ::android::hardware::keymaster::V4_0::Tag; 44 using ::android::hardware::keymaster::V4_0::VerificationToken; [all …]
|
H A D | TrustyKeymaster3Device.h | 28 namespace keymaster { 35 using ::android::hardware::keymaster::V3_0::ErrorCode; 36 using ::android::hardware::keymaster::V3_0::IKeymasterDevice; 37 using ::android::hardware::keymaster::V3_0::KeyCharacteristics; 38 using ::android::hardware::keymaster::V3_0::KeyFormat; 39 using ::android::hardware::keymaster::V3_0::KeyParameter; 40 using ::android::hardware::keymaster::V3_0::KeyPurpose;
|
H A D | TrustySecureClock.h | 29 explicit TrustySecureClock(std::shared_ptr<::keymaster::TrustyKeymaster> impl) in TrustySecureClock() 35 std::shared_ptr<::keymaster::TrustyKeymaster> impl_;
|
H A D | TrustySharedSecret.h | 28 explicit TrustySharedSecret(std::shared_ptr<::keymaster::TrustyKeymaster> impl) in TrustySharedSecret() 37 std::shared_ptr<::keymaster::TrustyKeymaster> impl_;
|
H A D | TrustyRemotelyProvisionedComponentDevice.h | 27 using ::keymaster::TrustyKeymaster; 54 std::shared_ptr<::keymaster::TrustyKeymaster> impl_;
|
/aosp14/system/core/trusty/keymaster/3.0/ |
H A D | TrustyKeymaster3Device.cpp | 29 using ::keymaster::AddEntropyRequest; 30 using ::keymaster::AddEntropyResponse; 31 using ::keymaster::AttestKeyRequest; 32 using ::keymaster::AttestKeyResponse; 33 using ::keymaster::AuthorizationSet; 36 using ::keymaster::ExportKeyRequest; 37 using ::keymaster::ExportKeyResponse; 44 using ::keymaster::ImportKeyRequest; 45 using ::keymaster::ImportKeyResponse; 48 using ::keymaster::ng::Tag; [all …]
|
H A D | service.cpp | 26 auto trustyKeymaster = new keymaster::TrustyKeymaster(); in main() 27 int err = trustyKeymaster->Initialize(keymaster::KmVersion::KEYMASTER_3); in main() 33 auto keymaster = new ::keymaster::TrustyKeymaster3Device(trustyKeymaster); in main() local 35 auto status = keymaster->registerAsService(); in main()
|
H A D | android.hardware.keymaster@3.0-service.trusty.rc | 1 service vendor.keymaster-3-0 /vendor/bin/hw/android.hardware.keymaster@3.0-service.trusty
|
/aosp14/system/core/trusty/keymaster/4.0/ |
H A D | service.cpp | 26 auto trustyKeymaster = new keymaster::TrustyKeymaster(); in main() 27 int err = trustyKeymaster->Initialize(keymaster::KmVersion::KEYMASTER_4); in main() 33 auto keymaster = new ::keymaster::V4_0::TrustyKeymaster4Device(trustyKeymaster); in main() local 35 auto status = keymaster->registerAsService(); in main()
|
H A D | TrustyKeymaster4Device.cpp | 30 using ::keymaster::AddEntropyRequest; 31 using ::keymaster::AddEntropyResponse; 32 using ::keymaster::AttestKeyRequest; 33 using ::keymaster::AttestKeyResponse; 34 using ::keymaster::AuthorizationSet; 37 using ::keymaster::ExportKeyRequest; 38 using ::keymaster::ExportKeyResponse; 45 using ::keymaster::ImportKeyRequest; 46 using ::keymaster::ImportKeyResponse; 49 using ::keymaster::ng::Tag; [all …]
|
H A D | android.hardware.keymaster@4.0-service.trusty.rc | 1 service vendor.keymaster-4-0 /vendor/bin/hw/android.hardware.keymaster@4.0-service.trusty
|
/aosp14/system/core/trusty/keymaster/set_attestation_key/ |
H A D | set_attestation_key.cpp | 72 struct SetAttestationKeyRequest : public keymaster::KeymasterMessage { 78 buf = keymaster::append_uint32_to_buf(buf, end, algorithm); in Serialize() 82 return keymaster::copy_uint32_from_buf(buf_ptr, end, &algorithm) && in Deserialize() 87 keymaster::Buffer key_data; 90 struct KeymasterNoResponse : public keymaster::KeymasterResponse { 92 : keymaster::KeymasterResponse(ver) {} in KeymasterNoResponse() 101 struct ClearAttestationCertChainRequest : public keymaster::KeymasterMessage { 107 return keymaster::append_uint32_to_buf(buf, end, algorithm); in Serialize() 110 return keymaster::copy_uint32_from_buf(buf_ptr, end, &algorithm); in Deserialize() 346 keymaster::SetAttestationIdsRequest req(4 /* ver */); in provision_ids() [all …]
|
/aosp14/frameworks/base/core/java/android/security/keymaster/ |
H A D | IKeyAttestationApplicationIdProvider.aidl | 17 package android.security.keymaster; 19 import android.security.keymaster.KeyAttestationApplicationId; 20 import android.security.keymaster.KeyAttestationPackageInfo;
|
/aosp14/system/core/trusty/keymaster/set_attestation_ids/ |
H A D | set_attestation_ids.cpp | 40 std::string buf2string(const keymaster::Buffer& buf) { in buf2string() 44 void print_usage(const char* prog, const keymaster::SetAttestationIdsRequest& req) { in print_usage() 65 void set_from_prop(keymaster::Buffer* buf, const std::string& prop) { in set_from_prop() 72 void populate_ids(keymaster::SetAttestationIdsRequest* req) { in populate_ids() 85 keymaster::SetAttestationIdsRequest req(/* ver = */ 4); in main() 153 keymaster::EmptyKeymasterResponse rsp(/* ver = */ 4); in main()
|
/aosp14/system/core/trusty/keymaster/ |
H A D | Android.bp | 22 name: "android.hardware.keymaster@3.0-service.trusty", 26 init_rc: ["3.0/android.hardware.keymaster@3.0-service.trusty.rc"], 47 "android.hardware.keymaster@3.0" 52 name: "android.hardware.keymaster@4.0-service.trusty", 56 init_rc: ["4.0/android.hardware.keymaster@4.0-service.trusty.rc"], 77 "android.hardware.keymaster@4.0" 80 vintf_fragments: ["4.0/android.hardware.keymaster@4.0-service.trusty.xml"],
|
/aosp14/frameworks/base/services/core/java/com/android/server/security/ |
H A D | KeyAttestationApplicationIdProviderService.java | 27 import android.security.keymaster.IKeyAttestationApplicationIdProvider; 28 import android.security.keymaster.KeyAttestationApplicationId; 29 import android.security.keymaster.KeyAttestationPackageInfo;
|
/aosp14/system/core/trusty/keymaster/include/trusty_keymaster/ipc/ |
H A D | trusty_keymaster_ipc.h | 35 keymaster_error_t trusty_keymaster_send(uint32_t command, const keymaster::Serializable& req, 36 keymaster::KeymasterResponse* rsp);
|
/aosp14/system/core/trusty/keymaster/ipc/ |
H A D | trusty_keymaster_ipc.cpp | 277 keymaster_error_t trusty_keymaster_send(uint32_t command, const keymaster::Serializable& req, in trusty_keymaster_send() 278 keymaster::KeymasterResponse* rsp) { in trusty_keymaster_send() 286 keymaster::Eraser send_buf_eraser(send_buf, TRUSTY_KEYMASTER_SEND_BUF_SIZE); in trusty_keymaster_send() 292 keymaster::Eraser response_buffer_erasor(response_buffer->data(), response_buffer->size()); in trusty_keymaster_send()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
H A D | HardwareAuthTokenUtilsTest.java | 21 import android.hardware.keymaster.HardwareAuthToken; 22 import android.hardware.keymaster.Timestamp;
|
/aosp14/system/core/trusty/keymaster/fuzz/ |
H A D | Android.bp | 24 "-DTRUSTY_APP_PORT=\"com.android.trusty.keymaster\"", 26 "-DTRUSTY_APP_FILENAME=\"keymaster.syms.elf\"",
|