/system/keymaster/tests/ |
D | android_keymaster_test.cpp | 250 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 …]
|
D | kdf1_test.cpp | 53 ASSERT_TRUE(kdf1.GenerateKey(nullptr, 0, output, output_len)); in TEST()
|
D | kdf_test.cpp | 25 bool GenerateKey(const uint8_t* /* info */, size_t /* info_len */, uint8_t* /* output */, in GenerateKey() function in keymaster::test::ForTestAbstractKdf
|
D | kdf2_test.cpp | 78 ASSERT_TRUE(kdf2.GenerateKey(reinterpret_cast<const uint8_t*>(info.data()), info.size(), in TEST()
|
D | hkdf_test.cpp | 71 ASSERT_TRUE(hkdf.GenerateKey(reinterpret_cast<const uint8_t*>(info.data()), info.size(), in TEST()
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster1_legacy_support.h | 71 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(
|
D | keymaster_passthrough_key.h | 43 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()
|
D | rsa_keymaster0_key.h | 40 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
|
D | ec_keymaster0_key.h | 40 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
|
D | keymaster_passthrough_engine.h | 43 virtual keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
|
D | ec_keymaster1_key.h | 44 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
|
D | rsa_keymaster1_key.h | 45 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
|
/system/bt/btif/src/ |
D | btif_keystore.cc | 47 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/ |
D | ec_keymaster1_key.cpp | 64 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()
|
D | rsa_keymaster1_key.cpp | 82 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()
|
D | ec_keymaster0_key.cpp | 36 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()
|
D | keymaster1_legacy_support.cpp | 227 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/ |
D | iso18033kdf.h | 55 bool GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output,
|
D | hkdf.h | 44 bool GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output,
|
D | kdf.h | 37 virtual bool GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output,
|
D | rsa_key_factory.h | 34 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
|
D | ec_key_factory.h | 37 keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
|
/system/bt/btif/include/ |
D | btif_keystore.h | 73 keystore::KeyStoreNativeReturnCode GenerateKey(const std::string& name,
|
/system/keymaster/km_openssl/ |
D | ecies_kem.cpp | 119 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/ |
D | key_factory.h | 40 virtual keymaster_error_t GenerateKey(const AuthorizationSet& key_description,
|