Home
last modified time | relevance | path

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

/system/keymaster/
Dandroid_keymaster.cpp87 if (context.GetKeyFactory(algorithm) == NULL) { in check_supported()
165 context_->GetKeyFactory(request.algorithm)->SupportedImportFormats(&count); in SupportedImportFormats()
176 context_->GetKeyFactory(request.algorithm)->SupportedExportFormats(&count); in SupportedExportFormats()
195 !(factory = context_->GetKeyFactory(algorithm))) in GenerateKey()
223 static KeyFactory* GetKeyFactory(const KeymasterContext& context, in GetKeyFactory() function
231 KeyFactory* factory = context.GetKeyFactory(*algorithm); in GetKeyFactory()
373 GetKeyFactory(*context_, hw_enforced, sw_enforced, &algorithm, &response->error); in ExportKey()
435 !(factory = context_->GetKeyFactory(algorithm))) in ImportKey()
480 *factory = GetKeyFactory(*context_, *hw_enforced, *sw_enforced, &algorithm, &error); in LoadKey()
Dattestation_record_test.cpp44 KeyFactory* GetKeyFactory(keymaster_algorithm_t /* algorithm */) const override { in GetKeyFactory() function in keymaster::test::TestContext
Dsoft_keymaster_context.cpp362 KeyFactory* SoftKeymasterContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory() function in keymaster::SoftKeymasterContext
388 KeyFactory* key_factory = GetKeyFactory(algorithm); in GetOperationFactory()
/system/keymaster/include/keymaster/
Dkeymaster_context.h90 virtual KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const = 0;
Dsoft_keymaster_context.h63 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;