Home
last modified time | relevance | path

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

12

/system/keymaster/tests/
Dandroid_keymaster_test.cpp250 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
285 GenerateKey(AuthorizationSetBuilder() in TEST_P()
295 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(224).Digest(KM_DIGEST_NONE))); in TEST_P()
323 GenerateKey(AuthorizationSetBuilder() in TEST_P()
333 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(190).Digest(KM_DIGEST_NONE))); in TEST_P()
339 GenerateKey(AuthorizationSetBuilder() in TEST_P()
348 EXPECT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(size).Digest( in TEST_P()
358 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
371 GenerateKey(AuthorizationSetBuilder() in TEST_P()
377 EXPECT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
[all …]
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.cpp71 ASSERT_TRUE(hkdf.GenerateKey(reinterpret_cast<const uint8_t*>(info.data()), info.size(), in TEST()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster1_legacy_support.h71 keymaster_error_t GenerateKey(const AuthorizationSet& key_description, in GenerateKey() function
75 return software_digest_factory_.GenerateKey(key_description, key_blob, hw_enforced, in GenerateKey()
78 return passthrough_factory_.GenerateKey(key_description, key_blob, hw_enforced, in GenerateKey()
144 Keymaster1ArbitrationFactory<EcdsaKeymaster1KeyFactory>::GenerateKey(
Dkeymaster_passthrough_key.h43 keymaster_error_t GenerateKey(const AuthorizationSet& key_description, in GenerateKey() function
46 return engine_->GenerateKey(key_description, key_blob, hw_enforced, sw_enforced); in GenerateKey()
Drsa_keymaster0_key.h40 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
Dec_keymaster0_key.h40 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
Dkeymaster_passthrough_engine.h43 virtual keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
Dec_keymaster1_key.h44 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
Drsa_keymaster1_key.h45 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
/system/bt/btif/src/
Dbtif_keystore.cc47 auto gen_result = GenerateKey(kKeyStore, 0, false); in Encrypt()
76 KeyStoreNativeReturnCode BtifKeystore::GenerateKey(const std::string& name, in GenerateKey() function in bluetooth::BtifKeystore
/system/keymaster/legacy_support/
Dec_keymaster1_key.cpp64 keymaster_error_t EcdsaKeymaster1KeyFactory::GenerateKey(const AuthorizationSet& key_description, in GenerateKey() function in keymaster::EcdsaKeymaster1KeyFactory
79 return engine_->GenerateKey(key_params_copy, key_blob, hw_enforced, sw_enforced); in GenerateKey()
Drsa_keymaster1_key.cpp82 keymaster_error_t RsaKeymaster1KeyFactory::GenerateKey(const AuthorizationSet& key_description, in GenerateKey() function in keymaster::RsaKeymaster1KeyFactory
88 return engine_->GenerateKey(key_params_copy, key_blob, hw_enforced, sw_enforced); in GenerateKey()
Dec_keymaster0_key.cpp36 keymaster_error_t EcdsaKeymaster0KeyFactory::GenerateKey(const AuthorizationSet& key_description, in GenerateKey() function in keymaster::EcdsaKeymaster0KeyFactory
44 return super::GenerateKey(key_description, key_blob, hw_enforced, sw_enforced); in GenerateKey()
Dkeymaster1_legacy_support.cpp227 Keymaster1ArbitrationFactory<EcdsaKeymaster1KeyFactory>::GenerateKey( in GenerateKey() function in keymaster::Keymaster1ArbitrationFactory
232 return software_digest_factory_.GenerateKey(key_description, key_blob, hw_enforced, in GenerateKey()
255 return passthrough_factory_.GenerateKey(mutable_key_description, key_blob, hw_enforced, in GenerateKey()
/system/keymaster/include/keymaster/km_openssl/
Diso18033kdf.h55 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.h34 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
Dec_key_factory.h37 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
/system/bt/btif/include/
Dbtif_keystore.h73 keystore::KeyStoreNativeReturnCode GenerateKey(const std::string& name,
/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()
/system/keymaster/include/keymaster/
Dkey_factory.h40 virtual keymaster_error_t GenerateKey(const AuthorizationSet& key_description,

12