Home
last modified time | relevance | path

Searched refs:GenerateKey (Results 1 – 25 of 40) sorted by relevance

12

/system/keymaster/include/keymaster/legacy_support/
Dkeymaster1_legacy_support.h67 keymaster_error_t GenerateKey(const AuthorizationSet& key_description, in GenerateKey() function
75 return software_digest_factory_.GenerateKey(key_description, std::move(attest_key), in GenerateKey()
79 return passthrough_factory_.GenerateKey(key_description, std::move(attest_key), in GenerateKey()
151 keymaster_error_t Keymaster1ArbitrationFactory<EcdsaKeymaster1KeyFactory>::GenerateKey(
Dkeymaster_passthrough_key.h45 keymaster_error_t GenerateKey(const AuthorizationSet& key_description, in GenerateKey() function
51 return engine_->GenerateKey(key_description, key_blob, hw_enforced, sw_enforced); in GenerateKey()
Dkeymaster_passthrough_engine.h42 virtual keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
Dec_keymaster1_key.h46 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
Drsa_keymaster1_key.h46 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
/system/keymaster/legacy_support/
Dec_keymaster1_key.cpp66 keymaster_error_t EcdsaKeymaster1KeyFactory::GenerateKey(const AuthorizationSet& key_description, in GenerateKey() function in keymaster::EcdsaKeymaster1KeyFactory
84 return engine_->GenerateKey(key_params_copy, key_blob, hw_enforced, sw_enforced); in GenerateKey()
Drsa_keymaster1_key.cpp86 keymaster_error_t RsaKeymaster1KeyFactory::GenerateKey(const AuthorizationSet& key_description, in GenerateKey() function in keymaster::RsaKeymaster1KeyFactory
95 return engine_->GenerateKey(key_params_copy, key_blob, hw_enforced, sw_enforced); in GenerateKey()
Dkeymaster1_legacy_support.cpp223 keymaster_error_t Keymaster1ArbitrationFactory<EcdsaKeymaster1KeyFactory>::GenerateKey( in GenerateKey() function in keymaster::Keymaster1ArbitrationFactory
232 return software_digest_factory_.GenerateKey(key_description, std::move(attest_key), in GenerateKey()
256 return passthrough_factory_.GenerateKey(mutable_key_description, std::move(attest_key), in GenerateKey()
Dkeymaster_passthrough_engine.cpp86 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
207 keymaster_error_t TKeymasterPassthroughEngine<keymaster1_device_t>::GenerateKey( in GenerateKey() function in keymaster::TKeymasterPassthroughEngine
227 keymaster_error_t TKeymasterPassthroughEngine<keymaster2_device_t>::GenerateKey( in GenerateKey() function in keymaster::TKeymasterPassthroughEngine
/system/keymaster/include/keymaster/km_openssl/
Diso18033kdf.h54 bool GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output,
Dhkdf.h44 bool GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output,
Dkdf.h37 virtual bool GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output,
Drsa_key_factory.h32 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
Dec_key_factory.h34 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
Dsymmetric_key.h35 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
/system/keymaster/tests/
Dkdf1_test.cpp53 ASSERT_TRUE(kdf1.GenerateKey(nullptr, 0, output, output_len)); in TEST()
Dkdf_test.cpp25 bool GenerateKey(const uint8_t* /* info */, size_t /* info_len */, uint8_t* /* output */, in GenerateKey() function in keymaster::test::ForTestAbstractKdf
Dkdf2_test.cpp78 ASSERT_TRUE(kdf2.GenerateKey(reinterpret_cast<const uint8_t*>(info.data()), info.size(), in TEST()
Dhkdf_test.cpp74 ASSERT_TRUE(hkdf.GenerateKey(reinterpret_cast<const uint8_t*>(info.data()), info.size(), in TEST()
/system/keymaster/km_openssl/
Decies_kem.cpp119 if (!kdf_->GenerateKey(nullptr /* info */, 0 /* info length */, output_clear_key->peek_write(), in Encrypt()
175 if (!kdf_->GenerateKey(nullptr /* info */, 0 /* info_len */, output_key->peek_write(), in Decrypt()
Diso18033kdf.cpp29 bool Iso18033Kdf::GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output, in GenerateKey() function in keymaster::Iso18033Kdf
Dhkdf.cpp24 bool Rfc5869Sha256Kdf::GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output, in GenerateKey() function in keymaster::Rfc5869Sha256Kdf
Dsymmetric_key.cpp36 keymaster_error_t SymmetricKeyFactory::GenerateKey(const AuthorizationSet& key_description, in GenerateKey() function in keymaster::SymmetricKeyFactory
/system/keymaster/include/keymaster/
Dkey_factory.h39 virtual keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
/system/core/trusty/keymaster/include/trusty_keymaster/
DTrustyKeymaster.h44 void GenerateKey(const GenerateKeyRequest& request, GenerateKeyResponse* response);

12