Home
last modified time | relevance | path

Searched refs:LoadKey (Results 1 – 24 of 24) sorted by relevance

/system/keymaster/
Dec_keymaster0_key.cpp100 keymaster_error_t EcdsaKeymaster0KeyFactory::LoadKey(const KeymasterKeyBlob& key_material, in LoadKey() function in keymaster::EcdsaKeymaster0KeyFactory
109 return super::LoadKey(key_material, additional_params, hw_enforced, sw_enforced, key); in LoadKey()
Drsa_keymaster0_key.cpp101 keymaster_error_t RsaKeymaster0KeyFactory::LoadKey(const KeymasterKeyBlob& key_material, in LoadKey() function in keymaster::RsaKeymaster0KeyFactory
110 return super::LoadKey(key_material, additional_params, hw_enforced, sw_enforced, key); in LoadKey()
Dhmac_key.h30 keymaster_error_t LoadKey(const KeymasterKeyBlob& key_material,
Dandroid_keymaster.cpp247 response->error = LoadKey(request.key_blob, request.additional_params, &hw_enforced, in BeginOperation()
378 response->error = key_factory->LoadKey(key_material, request.additional_params, hw_enforced, in ExportKey()
400 response->error = LoadKey(request.key_blob, request.attest_params, &tee_enforced, &sw_enforced, in AttestKey()
458 keymaster_error_t AndroidKeymaster::LoadKey(const keymaster_key_blob_t& key_blob, in LoadKey() function in keymaster::AndroidKeymaster
478 return (*factory)->LoadKey(key_material, additional_params, *hw_enforced, *sw_enforced, key); in LoadKey()
Daes_key.h35 keymaster_error_t LoadKey(const KeymasterKeyBlob& key_material,
Dasymmetric_key_factory.cpp41 keymaster_error_t AsymmetricKeyFactory::LoadKey(const KeymasterKeyBlob& key_material, in LoadKey() function in keymaster::AsymmetricKeyFactory
Dec_keymaster0_key.h51 keymaster_error_t LoadKey(const KeymasterKeyBlob& key_material,
Drsa_keymaster0_key.h51 keymaster_error_t LoadKey(const KeymasterKeyBlob& key_material,
Dec_keymaster1_key.h55 keymaster_error_t LoadKey(const KeymasterKeyBlob& key_material,
Drsa_keymaster1_key.h55 keymaster_error_t LoadKey(const KeymasterKeyBlob& key_material,
Daes_key.cpp44 keymaster_error_t AesKeyFactory::LoadKey(const KeymasterKeyBlob& key_material, in LoadKey() function in keymaster::AesKeyFactory
Dhmac_key.cpp42 keymaster_error_t HmacKeyFactory::LoadKey(const KeymasterKeyBlob& key_material, in LoadKey() function in keymaster::HmacKeyFactory
Dec_keymaster1_key.cpp83 keymaster_error_t EcdsaKeymaster1KeyFactory::LoadKey(const KeymasterKeyBlob& key_material, in LoadKey() function in keymaster::EcdsaKeymaster1KeyFactory
Drsa_keymaster1_key.cpp104 keymaster_error_t RsaKeymaster1KeyFactory::LoadKey(const KeymasterKeyBlob& key_material, in LoadKey() function in keymaster::RsaKeymaster1KeyFactory
/system/keymaster/include/keymaster/
Dasymmetric_key_factory.h32 keymaster_error_t LoadKey(const KeymasterKeyBlob& key_material,
Dkey_factory.h51 virtual keymaster_error_t LoadKey(const KeymasterKeyBlob& key_material,
Dandroid_keymaster.h85 keymaster_error_t LoadKey(const keymaster_key_blob_t& key_blob,
/system/tpm/trunks/
Dtrunks_client_test.cc117 result = utility->LoadKey(key_blob, session->GetDelegate(), &signing_key); in SignTest()
158 result = utility->LoadKey(key_blob, session->GetDelegate(), &decrypt_key); in DecryptTest()
188 result = utility->LoadKey(key_blob, session->GetDelegate(), &key_handle); in ImportTest()
216 result = utility->LoadKey(key_blob, session->GetDelegate(), &key_handle); in AuthChangeTest()
230 result = utility->LoadKey(key_blob, session->GetDelegate(), &key_handle); in AuthChangeTest()
269 result = utility->LoadKey(key_blob, session->GetDelegate(), &key_handle); in VerifyKeyCreationTest()
275 result = utility->LoadKey(alternate_key_blob, in VerifyKeyCreationTest()
442 result = utility->LoadKey(key_blob, hmac_session->GetDelegate(), &key_handle); in PolicyAuthValueTest()
570 result = utility->LoadKey(key_blob, hmac_session->GetDelegate(), &key_handle); in PolicyAndTest()
750 result = utility->LoadKey(key_blob, hmac_session->GetDelegate(), &key_handle); in PolicyOrTest()
[all …]
Dmock_tpm_utility.h95 MOCK_METHOD3(LoadKey, TPM_RC(const std::string&,
Dtpm_utility.h216 virtual TPM_RC LoadKey(const std::string& key_blob,
Dtpm_utility_impl.h107 TPM_RC LoadKey(const std::string& key_blob,
Dtrunks_factory_for_test.cc269 TPM_RC LoadKey(const std::string& key_blob, in LoadKey() function in trunks::TpmUtilityForwarder
272 return target_->LoadKey(key_blob, delegate, key_handle); in LoadKey()
Dtpm_utility_test.cc1495 EXPECT_EQ(TPM_RC_SUCCESS, utility_.LoadKey( in TEST_F()
1505 EXPECT_EQ(TPM_RC_FAILURE, utility_.LoadKey( in TEST_F()
1512 EXPECT_EQ(SAPI_RC_INVALID_SESSIONS, utility_.LoadKey( in TEST_F()
1521 EXPECT_EQ(SAPI_RC_BAD_TCTI_STRUCTURE, utility_.LoadKey( in TEST_F()
Dtpm_utility_impl.cc957 TPM_RC TpmUtilityImpl::LoadKey(const std::string& key_blob, in LoadKey() function in trunks::TpmUtilityImpl
1110 result = LoadKey(sealed_data, password_delegate.get(), &object_handle); in UnsealData()