Home
last modified time | relevance | path

Searched defs:algorithm (Results 1 – 25 of 32) sorted by relevance

12

/system/keymaster/legacy_support/
Dkeymaster1_legacy_support.cpp57 …atic keymaster_error_t add_digests(const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in add_digests()
86 for (auto algorithm : sig_algorithms) in map_digests() local
98 for (auto algorithm : crypt_algorithms) in map_digests() local
120 static bool findUnsupportedDigest(keymaster_algorithm_t algorithm, in findUnsupportedDigest()
145 bool requiresSoftwareDigesting(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, in requiresSoftwareDigesting()
170 keymaster_algorithm_t algorithm; in RequiresSoftwareDigesting() local
194 keymaster_algorithm_t algorithm; in RequiresSoftwareDigesting() local
Dkeymaster_passthrough_operation.h95 KeymasterPassthroughOperationFactory(keymaster_algorithm_t algorithm, in KeymasterPassthroughOperationFactory()
/system/keymaster/contexts/
Dsoft_attestation_cert.cpp287 const keymaster_key_blob_t* getAttestationKey(keymaster_algorithm_t algorithm, keymaster_error_t* e… in getAttestationKey()
306 keymaster_algorithm_t algorithm, keymaster_error_t* error) { in getAttestationChain()
Dsoft_keymaster_device.cpp110 static keymaster_error_t add_digests(keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in add_digests()
138 for (auto algorithm : sig_algorithms) in map_digests() local
150 for (auto algorithm : crypt_algorithms) in map_digests() local
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()
667 bool SoftKeymasterDevice::FindUnsupportedDigest(keymaster_algorithm_t algorithm, in FindUnsupportedDigest()
689 bool SoftKeymasterDevice::RequiresSoftwareDigesting(keymaster_algorithm_t algorithm, in RequiresSoftwareDigesting()
[all …]
Dkeymaster2_passthrough_context.cpp50 OperationFactory* Keymaster2PassthroughContext::GetOperationFactory(keymaster_algorithm_t algorithm, in GetOperationFactory()
97 keymaster_algorithm_t algorithm; in ParseKeyBlob() local
Dkeymaster1_passthrough_context.cpp82 OperationFactory* Keymaster1PassthroughContext::GetOperationFactory(keymaster_algorithm_t algorithm, in GetOperationFactory()
165 keymaster_algorithm_t algorithm; in ParseKeyBlob() local
Dpure_soft_keymaster_context.cpp100 OperationFactory* PureSoftKeymasterContext::GetOperationFactory(keymaster_algorithm_t algorithm, in GetOperationFactory()
171 keymaster_algorithm_t algorithm; in ParseKeyBlob() local
Dsoft_keymaster_context.cpp135 OperationFactory* SoftKeymasterContext::GetOperationFactory(keymaster_algorithm_t algorithm, in GetOperationFactory()
287 keymaster_algorithm_t algorithm; in ParseKeyBlob() local
/system/keymaster/km_openssl/
Daes_operation.h28 keymaster_algorithm_t algorithm() const override { return KM_ALGORITHM_AES; } in algorithm() function
Dtriple_des_operation.h28 keymaster_algorithm_t algorithm() const override { return KM_ALGORITHM_TRIPLE_DES; } in algorithm() function
Dopenssl_utils.cpp66 static int convert_to_evp(keymaster_algorithm_t algorithm) { in convert_to_evp()
Drsa_key_factory.cpp165 keymaster_algorithm_t algorithm = KM_ALGORITHM_RSA; in UpdateImportKeyDescription() local
Dec_key_factory.cpp190 keymaster_algorithm_t algorithm = KM_ALGORITHM_EC; in UpdateImportKeyDescription() local
/system/security/keystore/
Dkey_config.proto26 optional string algorithm = 1; field
Doperation_config.proto26 optional string algorithm = 1; field
Dauth_token_table.cpp97 inline bool is_secret_key_operation(Algorithm algorithm, KeyPurpose purpose) { in is_secret_key_operation()
104 auto algorithm = defaultOr(key_info.GetTagValue(TAG_ALGORITHM), Algorithm::AES); in KeyRequiresAuthentication() local
110 auto algorithm = defaultOr(key_info.GetTagValue(TAG_ALGORITHM), Algorithm::AES); in KeyRequiresAuthPerOperation() local
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp78 bool check_supported(const KeymasterContext& context, keymaster_algorithm_t algorithm, in check_supported()
115 void GetSupported(const KeymasterContext& context, keymaster_algorithm_t algorithm, in GetSupported()
221 keymaster_algorithm_t algorithm; in GenerateKey() local
434 keymaster_algorithm_t algorithm; in ImportKey() local
516 keymaster_algorithm_t algorithm; in ImportWrappedKey() local
Doperation.cpp51 inline bool is_public_key_algorithm(keymaster_algorithm_t algorithm) { in is_public_key_algorithm()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster_passthrough_key.h40 KeymasterPassthroughKeyFactory(const engine_t* engine, keymaster_algorithm_t algorithm) in KeymasterPassthroughKeyFactory()
Dkeymaster1_legacy_support.h65 keymaster_algorithm_t algorithm, in Keymaster1ArbitrationFactory()
/system/keymaster/include/keymaster/
Doperation.h45 keymaster_algorithm_t algorithm; member
/system/keymaster/tests/
Dwrapped_key_test.cpp98 keymaster_algorithm_t algorithm; in TEST() local
/system/security/keystore-engine/
Dkeystore_backend_binder.cpp129 auto algorithm = getKeyAlgoritmFromKeyCharacteristics(characteristics); in sign() local
/system/core/fs_mgr/libdm/
Ddm_test.cpp185 std::string algorithm = "sha1"; in TEST() local
/system/hardware/interfaces/wifi/keystore/1.0/default/
Dkeystore.cpp174 auto algorithm = getKeyAlgoritmFromKeyCharacteristics(characteristics); in sign() local

12