Home
last modified time | relevance | path

Searched refs:GetKeyFactory (Results 1 – 10 of 10) sorted by relevance

/system/keymaster/contexts/
Dkeymaster2_passthrough_context.cpp43 KeyFactory* Keymaster2PassthroughContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory() function in keymaster::Keymaster2PassthroughContext
52 auto keyfactory = GetKeyFactory(algorithm); in GetOperationFactory()
104 auto factory = GetKeyFactory(algorithm); in ParseKeyBlob()
Dkeymaster1_passthrough_context.cpp55 KeyFactory* Keymaster1PassthroughContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory() function in keymaster::Keymaster1PassthroughContext
84 auto keyfactory = GetKeyFactory(algorithm); in GetOperationFactory()
170 auto factory = GetKeyFactory(algorithm); in ParseKeyBlob()
Dpure_soft_keymaster_context.cpp74 KeyFactory* PureSoftKeymasterContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory() function in keymaster::PureSoftKeymasterContext
102 KeyFactory* key_factory = GetKeyFactory(algorithm); in GetOperationFactory()
214 auto factory = GetKeyFactory(algorithm); in ParseKeyBlob()
387 auto aes_factory = GetKeyFactory(KM_ALGORITHM_AES); in UnwrapKey()
Dsoft_keymaster_context.cpp109 KeyFactory* SoftKeymasterContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory() function in keymaster::SoftKeymasterContext
137 KeyFactory* key_factory = GetKeyFactory(algorithm); in GetOperationFactory()
292 auto factory = GetKeyFactory(algorithm); in ParseKeyBlob()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp80 if (context.GetKeyFactory(algorithm) == nullptr) { in check_supported()
158 context_->GetKeyFactory(request.algorithm)->SupportedImportFormats(&count); in SupportedImportFormats()
169 context_->GetKeyFactory(request.algorithm)->SupportedExportFormats(&count); in SupportedExportFormats()
225 !(factory = context_->GetKeyFactory(algorithm))) in GenerateKey()
442 !(factory = context_->GetKeyFactory(algorithm))) in ImportKey()
523 !(factory = context_->GetKeyFactory(algorithm))) { in ImportWrappedKey()
/system/keymaster/include/keymaster/contexts/
Dkeymaster2_passthrough_context.h53 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
Dkeymaster1_passthrough_context.h60 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
Dpure_soft_keymaster_context.h57 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
Dsoft_keymaster_context.h69 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
/system/keymaster/include/keymaster/
Dkeymaster_context.h86 virtual const KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const = 0;