Home
last modified time | relevance | path

Searched refs:keymaster_algorithm_t (Results 1 – 25 of 48) sorted by relevance

12

/aosp12/system/keymaster/include/keymaster/
H A Dsoft_keymaster_device.h76 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 Dkeymaster_context.h100 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 Dattestation_context.h91 virtual KeymasterKeyBlob GetAttestationKey(keymaster_algorithm_t algorithm,
98 virtual CertificateChain GetAttestationChain(keymaster_algorithm_t algorithm,
H A Doperation.h42 KeyType(keymaster_algorithm_t alg, keymaster_purpose_t purp) in KeyType()
45 keymaster_algorithm_t algorithm;
/aosp12/hardware/libhardware/include/hardware/
H A Dkeymaster1.h134 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 Dkeymaster2_passthrough_context.h56 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 Dkeymaster1_passthrough_context.h62 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 Dsoft_attestation_cert.h26 const keymaster_key_blob_t* getAttestationKey(keymaster_algorithm_t algorithm,
28 CertificateChain getAttestationChain(keymaster_algorithm_t algorithm, keymaster_error_t* error);
H A Dsoft_attestation_context.h35 KeymasterKeyBlob GetAttestationKey(keymaster_algorithm_t algorithm, in GetAttestationKey()
40 CertificateChain GetAttestationChain(keymaster_algorithm_t algorithm, in GetAttestationChain()
H A Dsoft_keymaster_context.h67 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 Dpure_soft_keymaster_context.h61 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 Dkeymaster1_legacy_support.cpp58 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 Dsoft_keymaster_context.cpp94 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 Dkeymaster2_passthrough_context.cpp42 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 Dkeymaster1_passthrough_context.cpp56 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 Dpure_soft_keymaster_context.cpp90 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 Dsoft_attestation_cert.cpp281 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 Dsoft_keymaster_device.cpp109 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 Dset_attestation_key.cpp86 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 Dopenssl_utils.cpp68 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 Dtriple_des_operation.h28 keymaster_algorithm_t algorithm() const override { return KM_ALGORITHM_TRIPLE_DES; } in algorithm()
H A Daes_operation.h28 keymaster_algorithm_t algorithm() const override { return KM_ALGORITHM_AES; } in algorithm()
/aosp12/system/keymaster/include/keymaster/legacy_support/
H A Dkeymaster_passthrough_key.h40 KeymasterPassthroughKeyFactory(const engine_t* engine, keymaster_algorithm_t algorithm) in KeymasterPassthroughKeyFactory()
78 keymaster_algorithm_t algorithm_;
H A Dkeymaster1_legacy_support.h41 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 Dopenssl_utils.h89 keymaster_algorithm_t expected_algorithm,
94 keymaster_algorithm_t expected_algorithm,

12