Home
last modified time | relevance | path

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

12

/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h85 typedef std::pair<keymaster_algorithm_t, keymaster_purpose_t> AlgPurposePair;
90 bool FindUnsupportedDigest(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose,
93 bool RequiresSoftwareDigesting(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose,
97 static void StoreDefaultNewKeyParams(keymaster_algorithm_t algorithm,
100 keymaster_algorithm_t* algorithm);
111 keymaster_algorithm_t** algorithms,
114 keymaster_algorithm_t algorithm,
119 keymaster_algorithm_t algorithm,
124 keymaster_algorithm_t algorithm,
129 keymaster_algorithm_t algorithm,
[all …]
Dkeymaster_context.h90 virtual KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const = 0;
91 virtual OperationFactory* GetOperationFactory(keymaster_algorithm_t algorithm,
93 virtual keymaster_algorithm_t* GetSupportedAlgorithms(size_t* algorithms_count) const = 0;
166 virtual EVP_PKEY* AttestationKey(keymaster_algorithm_t algorithm,
173 virtual keymaster_cert_chain_t* AttestationChain(keymaster_algorithm_t algorithm,
Dsoft_keymaster_context.h63 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
64 OperationFactory* GetOperationFactory(keymaster_algorithm_t algorithm,
66 keymaster_algorithm_t* GetSupportedAlgorithms(size_t* algorithms_count) const override;
83 EVP_PKEY* AttestationKey(keymaster_algorithm_t algorithm,
85 keymaster_cert_chain_t* AttestationChain(keymaster_algorithm_t algorithm,
Dasymmetric_key_factory.h42 virtual keymaster_algorithm_t keymaster_key_type() const = 0;
Drsa_key_factory.h46 keymaster_algorithm_t keymaster_key_type() const override { return KM_ALGORITHM_RSA; } in keymaster_key_type()
Dec_key_factory.h31 keymaster_algorithm_t keymaster_key_type() const override { return KM_ALGORITHM_EC; } in keymaster_key_type()
Dandroid_keymaster_messages.h143 keymaster_algorithm_t algorithm;
170 keymaster_algorithm_t algorithm;
228 struct SupportedAlgorithmsResponse : public SupportedResponse<keymaster_algorithm_t> {
230 : SupportedResponse<keymaster_algorithm_t>(ver) {}
Dkeymaster_tags.h184 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ALGORITHM, keymaster_algorithm_t);
/system/keymaster/
Dattestation_record_test.cpp44 KeyFactory* GetKeyFactory(keymaster_algorithm_t /* algorithm */) const override { in GetKeyFactory()
47 OperationFactory* GetOperationFactory(keymaster_algorithm_t /* algorithm */, in GetOperationFactory() argument
51 keymaster_algorithm_t* GetSupportedAlgorithms(size_t* /* algorithms_count */) const override { in GetSupportedAlgorithms()
81 EVP_PKEY* AttestationKey(keymaster_algorithm_t /* algorithm */, in AttestationKey() argument
85 keymaster_cert_chain_t* AttestationChain(keymaster_algorithm_t /* algorithm */, in AttestationChain() argument
Dopenssl_utils.cpp71 static int convert_to_evp(keymaster_algorithm_t algorithm) { in convert_to_evp()
83 keymaster_algorithm_t expected_algorithm, in convert_pkcs8_blob_to_evp()
108 keymaster_algorithm_t expected_algorithm, in KeyMaterialToEvpKey()
Dandroid_keymaster.cpp85 bool check_supported(const KeymasterContext& context, keymaster_algorithm_t algorithm, in check_supported()
112 const keymaster_algorithm_t* algorithms = context_->GetSupportedAlgorithms(&algorithm_count); in SupportedAlgorithms()
122 void GetSupported(const KeymasterContext& context, keymaster_algorithm_t algorithm, in GetSupported()
191 keymaster_algorithm_t algorithm; in GenerateKey()
226 keymaster_algorithm_t* algorithm, keymaster_error_t* error) { in GetKeyFactory()
253 keymaster_algorithm_t key_algorithm; in BeginOperation()
371 keymaster_algorithm_t algorithm; in ExportKey()
431 keymaster_algorithm_t algorithm; in ImportKey()
479 keymaster_algorithm_t algorithm; in LoadKey()
Dopenssl_utils.h86 keymaster_algorithm_t expected_algorithm,
91 keymaster_algorithm_t expected_algorithm,
Doperation.h41 KeyType(keymaster_algorithm_t alg, keymaster_purpose_t purp) in KeyType()
44 keymaster_algorithm_t algorithm;
Daes_key.h33 keymaster_algorithm_t registry_key() const { return KM_ALGORITHM_AES; } in registry_key()
Dsoft_keymaster_device.cpp108 static keymaster_error_t add_digests(keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in add_digests()
134 keymaster_algorithm_t sig_algorithms[] = {KM_ALGORITHM_RSA, KM_ALGORITHM_EC, KM_ALGORITHM_HMAC}; in map_digests()
146 keymaster_algorithm_t crypt_algorithms[] = {KM_ALGORITHM_RSA}; in map_digests()
411 keymaster_algorithm_t** algorithms, in get_supported_algorithms()
434 reinterpret_cast<keymaster_algorithm_t*>(malloc(*algorithms_length * sizeof(**algorithms))); in get_supported_algorithms()
443 keymaster_algorithm_t algorithm, in get_supported_block_modes()
479 keymaster_algorithm_t algorithm, in get_supported_padding_modes()
515 keymaster_algorithm_t algorithm, in get_supported_digests()
550 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_import_formats()
583 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_export_formats()
[all …]
Dsoft_keymaster_context.cpp362 KeyFactory* SoftKeymasterContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory()
377 static keymaster_algorithm_t supported_algorithms[] = {KM_ALGORITHM_RSA, KM_ALGORITHM_EC,
380 keymaster_algorithm_t*
386 OperationFactory* SoftKeymasterContext::GetOperationFactory(keymaster_algorithm_t algorithm, in GetOperationFactory()
764 EVP_PKEY* SoftKeymasterContext::AttestationKey(keymaster_algorithm_t algorithm, in AttestationKey()
796 keymaster_cert_chain_t* SoftKeymasterContext::AttestationChain(keymaster_algorithm_t algorithm, in AttestationChain()
Doperation.cpp52 inline bool is_public_key_algorithm(keymaster_algorithm_t algorithm) { in is_public_key_algorithm()
Dasymmetric_key.cpp241 keymaster_algorithm_t sign_algorithm, in copy_attestation_chain()
269 keymaster_algorithm_t sign_algorithm; in GenerateAttestation()
Dandroid_keymaster_test_utils.cpp738 keymaster_algorithm_t** algorithms, in get_supported_algorithms()
743 keymaster_algorithm_t algorithm, in get_supported_block_modes()
751 keymaster_algorithm_t algorithm, in get_supported_padding_modes()
760 keymaster_algorithm_t algorithm, in get_supported_digests()
783 keymaster_algorithm_t algorithm, in get_supported_import_formats()
790 keymaster_algorithm_t algorithm, in get_supported_export_formats()
Dkeymaster_tags.cpp187 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ALGORITHM, keymaster_algorithm_t);
Drsa_key_factory.cpp167 keymaster_algorithm_t algorithm = KM_ALGORITHM_RSA; in UpdateImportKeyDescription()
Dec_key_factory.cpp190 keymaster_algorithm_t algorithm = KM_ALGORITHM_EC; in UpdateImportKeyDescription()
Dkeymaster_enforcement.cpp79 keymaster_algorithm_t algorithm; in is_public_key_algorithm()
/system/core/trusty/keymaster/
Dtrusty_keymaster_device.h94 keymaster_algorithm_t* algorithm);
Dtrusty_keymaster_device.cpp209 keymaster_algorithm_t algorithm; in import_keypair()
231 keymaster_algorithm_t* algorithm) { in GetPkcs8KeyAlgorithm()

12