Home
last modified time | relevance | path

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

/system/keymaster/
Dandroid_keymaster.cpp64 if (context.GetKeyFactory(algorithm) == NULL) { in check_supported()
142 context_->GetKeyFactory(request.algorithm)->SupportedImportFormats(&count); in SupportedImportFormats()
153 context_->GetKeyFactory(request.algorithm)->SupportedExportFormats(&count); in SupportedExportFormats()
172 !(factory = context_->GetKeyFactory(algorithm))) in GenerateKey()
198 static KeyFactory* GetKeyFactory(const KeymasterContext& context, in GetKeyFactory() function
206 KeyFactory* factory = context.GetKeyFactory(*algorithm); in GetKeyFactory()
344 GetKeyFactory(*context_, hw_enforced, sw_enforced, &algorithm, &response->error); in ExportKey()
370 !(factory = context_->GetKeyFactory(algorithm))) in ImportKey()
407 *factory = GetKeyFactory(*context_, *hw_enforced, *sw_enforced, &algorithm, &error); in LoadKey()
Dsoft_keymaster_context.cpp59 KeyFactory* SoftKeymasterContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory() function in keymaster::SoftKeymasterContext
85 KeyFactory* key_factory = GetKeyFactory(algorithm); in GetOperationFactory()
/system/keymaster/include/keymaster/
Dkeymaster_context.h66 virtual KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const = 0;
Dsoft_keymaster_context.h39 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;