/aosp12/system/keymaster/include/keymaster/ |
H A D | soft_keymaster_device.h | 76 typedef std::pair<keymaster_algorithm_t, keymaster_purpose_t> AlgPurposePair; 81 bool FindUnsupportedDigest(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, 84 bool RequiresSoftwareDigesting(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, 88 static void StoreDefaultNewKeyParams(keymaster_algorithm_t algorithm, 91 keymaster_algorithm_t* algorithm); 102 keymaster_algorithm_t** algorithms, 105 keymaster_algorithm_t algorithm, 110 keymaster_algorithm_t algorithm, 115 keymaster_algorithm_t algorithm, 120 keymaster_algorithm_t algorithm, [all …]
|
H A D | keymaster_context.h | 100 virtual const KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const = 0; 101 virtual const OperationFactory* GetOperationFactory(keymaster_algorithm_t algorithm, 103 virtual const keymaster_algorithm_t* GetSupportedAlgorithms(size_t* algorithms_count) const = 0;
|
H A D | attestation_context.h | 91 virtual KeymasterKeyBlob GetAttestationKey(keymaster_algorithm_t algorithm, 98 virtual CertificateChain GetAttestationChain(keymaster_algorithm_t algorithm,
|
H A D | operation.h | 42 KeyType(keymaster_algorithm_t alg, keymaster_purpose_t purp) in KeyType() 45 keymaster_algorithm_t algorithm;
|
/aosp12/hardware/libhardware/include/hardware/ |
H A D | keymaster1.h | 134 keymaster_algorithm_t** algorithms, 150 keymaster_algorithm_t algorithm, 169 keymaster_algorithm_t algorithm, 188 keymaster_algorithm_t algorithm, 207 keymaster_algorithm_t algorithm, 225 keymaster_algorithm_t algorithm,
|
/aosp12/system/keymaster/include/keymaster/contexts/ |
H A D | keymaster2_passthrough_context.h | 56 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override; 57 OperationFactory* GetOperationFactory(keymaster_algorithm_t algorithm, 59 keymaster_algorithm_t* GetSupportedAlgorithms(size_t* algorithms_count) const override; 126 mutable std::unordered_map<keymaster_algorithm_t, UniquePtr<KeymasterPassthroughKeyFactory>>
|
H A D | keymaster1_passthrough_context.h | 62 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override; 63 OperationFactory* GetOperationFactory(keymaster_algorithm_t algorithm, 65 keymaster_algorithm_t* GetSupportedAlgorithms(size_t* algorithms_count) const override; 138 mutable std::unordered_map<keymaster_algorithm_t, UniquePtr<KeyFactory>> factories_;
|
H A D | soft_attestation_cert.h | 26 const keymaster_key_blob_t* getAttestationKey(keymaster_algorithm_t algorithm, 28 CertificateChain getAttestationChain(keymaster_algorithm_t algorithm, keymaster_error_t* error);
|
H A D | soft_attestation_context.h | 35 KeymasterKeyBlob GetAttestationKey(keymaster_algorithm_t algorithm, in GetAttestationKey() 40 CertificateChain GetAttestationChain(keymaster_algorithm_t algorithm, in GetAttestationChain()
|
H A D | soft_keymaster_context.h | 67 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override; 68 OperationFactory* GetOperationFactory(keymaster_algorithm_t algorithm, 70 keymaster_algorithm_t* GetSupportedAlgorithms(size_t* algorithms_count) const override;
|
H A D | pure_soft_keymaster_context.h | 61 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override; 62 OperationFactory* GetOperationFactory(keymaster_algorithm_t algorithm, 64 keymaster_algorithm_t* GetSupportedAlgorithms(size_t* algorithms_count) const override;
|
/aosp12/system/keymaster/legacy_support/ |
H A D | keymaster1_legacy_support.cpp | 58 keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, in add_digests() 83 keymaster_algorithm_t sig_algorithms[] = {KM_ALGORITHM_RSA, KM_ALGORITHM_EC, KM_ALGORITHM_HMAC}; in map_digests() 94 keymaster_algorithm_t crypt_algorithms[] = {KM_ALGORITHM_RSA}; in map_digests() 117 static bool findUnsupportedDigest(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, in findUnsupportedDigest() 141 bool requiresSoftwareDigesting(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, in requiresSoftwareDigesting() 166 keymaster_algorithm_t algorithm; in RequiresSoftwareDigesting() 190 keymaster_algorithm_t algorithm; in RequiresSoftwareDigesting()
|
/aosp12/system/keymaster/contexts/ |
H A D | soft_keymaster_context.cpp | 94 KeyFactory* SoftKeymasterContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory() 111 static keymaster_algorithm_t supported_algorithms[] = {KM_ALGORITHM_RSA, KM_ALGORITHM_EC, 114 keymaster_algorithm_t* 120 OperationFactory* SoftKeymasterContext::GetOperationFactory(keymaster_algorithm_t algorithm, in GetOperationFactory() 267 keymaster_algorithm_t algorithm; in ParseKeyBlob() 370 keymaster_algorithm_t key_algorithm; in GenerateAttestation() 391 keymaster_algorithm_t key_algorithm; in GenerateSelfSignedCertificate()
|
H A D | keymaster2_passthrough_context.cpp | 42 KeyFactory* Keymaster2PassthroughContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory() 50 Keymaster2PassthroughContext::GetOperationFactory(keymaster_algorithm_t algorithm, in GetOperationFactory() 55 keymaster_algorithm_t* 100 keymaster_algorithm_t algorithm; in ParseKeyBlob()
|
H A D | keymaster1_passthrough_context.cpp | 56 KeyFactory* Keymaster1PassthroughContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory() 88 Keymaster1PassthroughContext::GetOperationFactory(keymaster_algorithm_t algorithm, in GetOperationFactory() 93 keymaster_algorithm_t* 167 keymaster_algorithm_t algorithm; in ParseKeyBlob() 232 keymaster_algorithm_t key_algorithm; in GenerateAttestation()
|
H A D | pure_soft_keymaster_context.cpp | 90 KeyFactory* PureSoftKeymasterContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory() 107 static keymaster_algorithm_t supported_algorithms[] = {KM_ALGORITHM_RSA, KM_ALGORITHM_EC, 110 keymaster_algorithm_t* 116 OperationFactory* PureSoftKeymasterContext::GetOperationFactory(keymaster_algorithm_t algorithm, in GetOperationFactory() 253 keymaster_algorithm_t algorithm; in ParseKeyBlob() 343 keymaster_algorithm_t key_algorithm; in GenerateAttestation() 371 keymaster_algorithm_t key_algorithm; in GenerateSelfSignedCertificate()
|
H A D | soft_attestation_cert.cpp | 281 const keymaster_key_blob_t* getAttestationKey(keymaster_algorithm_t algorithm, in getAttestationKey() 299 CertificateChain getAttestationChain(keymaster_algorithm_t algorithm, keymaster_error_t* error) { in getAttestationChain()
|
H A D | soft_keymaster_device.cpp | 109 static keymaster_error_t add_digests(keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in add_digests() 146 keymaster_algorithm_t crypt_algorithms[] = {KM_ALGORITHM_RSA}; in map_digests() 402 keymaster_algorithm_t algorithm, in get_supported_block_modes() 470 keymaster_algorithm_t algorithm, in get_supported_digests() 503 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_import_formats() 534 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_export_formats() 612 bool SoftKeymasterDevice::FindUnsupportedDigest(keymaster_algorithm_t algorithm, in FindUnsupportedDigest() 634 bool SoftKeymasterDevice::RequiresSoftwareDigesting(keymaster_algorithm_t algorithm, in RequiresSoftwareDigesting() 665 keymaster_algorithm_t algorithm; in KeyRequiresSoftwareDigesting() 1122 keymaster_algorithm_t algorithm = KM_ALGORITHM_AES; in begin() [all …]
|
/aosp12/system/core/trusty/keymaster/set_attestation_key/ |
H A D | set_attestation_key.cpp | 86 keymaster_algorithm_t algorithm; 113 keymaster_algorithm_t algorithm; 118 static int set_attestation_key_or_cert_bin(uint32_t cmd, keymaster_algorithm_t algorithm, in set_attestation_key_or_cert_bin() 136 static int set_attestation_key_or_cert_pem(uint32_t cmd, keymaster_algorithm_t algorithm, in set_attestation_key_or_cert_pem() 172 static int set_attestation_key_or_cert_iecs(uint32_t cmd, keymaster_algorithm_t algorithm, in set_attestation_key_or_cert_iecs() 214 static int str_to_algorithm(keymaster_algorithm_t* algorithm, const xmlChar* algorithm_str) { in str_to_algorithm() 229 keymaster_algorithm_t algorithm; in set_attestation_key_or_cert()
|
/aosp12/system/keymaster/km_openssl/ |
H A D | openssl_utils.cpp | 68 static int convert_to_evp(keymaster_algorithm_t algorithm) { in convert_to_evp() 80 keymaster_algorithm_t expected_algorithm, in convert_pkcs8_blob_to_evp() 102 keymaster_algorithm_t expected_algorithm, in KeyMaterialToEvpKey()
|
H A D | triple_des_operation.h | 28 keymaster_algorithm_t algorithm() const override { return KM_ALGORITHM_TRIPLE_DES; } in algorithm()
|
H A D | aes_operation.h | 28 keymaster_algorithm_t algorithm() const override { return KM_ALGORITHM_AES; } in algorithm()
|
/aosp12/system/keymaster/include/keymaster/legacy_support/ |
H A D | keymaster_passthrough_key.h | 40 KeymasterPassthroughKeyFactory(const engine_t* engine, keymaster_algorithm_t algorithm) in KeymasterPassthroughKeyFactory() 78 keymaster_algorithm_t algorithm_;
|
H A D | keymaster1_legacy_support.h | 41 typedef std::pair<keymaster_algorithm_t, keymaster_purpose_t> AlgPurposePair; 62 keymaster_algorithm_t algorithm, const keymaster1_device_t* dev, in Keymaster1ArbitrationFactory()
|
/aosp12/system/keymaster/include/keymaster/km_openssl/ |
H A D | openssl_utils.h | 89 keymaster_algorithm_t expected_algorithm, 94 keymaster_algorithm_t expected_algorithm,
|