Home
last modified time | relevance | path

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

/hardware/interfaces/security/keymint/aidl/vts/functional/
DAttestKeyTest.cpp52 ASSERT_EQ(ErrorCode::OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
71 GenerateKey(AuthorizationSetBuilder() in TEST_P()
101 GenerateKey(AuthorizationSetBuilder() in TEST_P()
134 GenerateKey(AuthorizationSetBuilder() in TEST_P()
202 GenerateKey(AuthorizationSetBuilder() in TEST_P()
239 GenerateKey(AuthorizationSetBuilder() in TEST_P()
301 GenerateKey(AuthorizationSetBuilder() in TEST_P()
373 GenerateKey(AuthorizationSetBuilder() in TEST_P()
448 GenerateKey(AuthorizationSetBuilder() in TEST_P()
461 GenerateKey(AuthorizationSetBuilder() in TEST_P()
[all …]
DDeviceUniqueAttestationTest.cpp73 auto result = GenerateKey(AuthorizationSetBuilder() in TEST_P()
101 auto result = GenerateKey(AuthorizationSetBuilder() in TEST_P()
128 auto result = GenerateKey(AuthorizationSetBuilder() in TEST_P()
185 auto result = GenerateKey(AuthorizationSetBuilder() in TEST_P()
260 auto result = GenerateKey(builder, &key_blob, &key_characteristics); in TEST_P()
331 auto result = GenerateKey(builder, &key_blob, &key_characteristics); in TEST_P()
DKeyMintAidlTestBase.h84 ErrorCode GenerateKey(const AuthorizationSet& key_desc, vector<uint8_t>* key_blob, in GenerateKey() function
86 return GenerateKey(key_desc, std::nullopt /* attest_key */, key_blob, key_characteristics, in GenerateKey()
89 ErrorCode GenerateKey(const AuthorizationSet& key_desc,
93 ErrorCode GenerateKey(const AuthorizationSet& key_desc,
227 GenerateKey(aesBuilder, &aesKeyData.blob, &aesKeyData.characteristics);
239 errorCode = GenerateKey(hmacBuilder, &hmacKeyData.blob, &hmacKeyData.characteristics);
252 errorCode = GenerateKey(rsaBuilder, &rsaKeyData.blob, &rsaKeyData.characteristics);
264 errorCode = GenerateKey(ecdsaBuilder, &ecdsaKeyData.blob, &ecdsaKeyData.characteristics);
DKeyMintAidlTestBase.cpp226 ErrorCode KeyMintAidlTestBase::GenerateKey(const AuthorizationSet& key_desc, in GenerateKey() function in aidl::android::hardware::security::keymint::test::KeyMintAidlTestBase
266 ErrorCode KeyMintAidlTestBase::GenerateKey(const AuthorizationSet& key_desc, in GenerateKey() function in aidl::android::hardware::security::keymint::test::KeyMintAidlTestBase
268 return GenerateKey(key_desc, attest_key, &key_blob_, &key_characteristics_, &cert_chain_); in GenerateKey()
/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp625 ASSERT_EQ(ErrorCode::OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
661 GenerateKey(AuthorizationSetBuilder() in TEST_P()
676 GenerateKey(AuthorizationSetBuilder() in TEST_P()
694 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(key_size).Digest(Digest::NONE), in TEST_P()
722 GenerateKey(AuthorizationSetBuilder() in TEST_P()
739 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(key_size).Digest(Digest::NONE), in TEST_P()
744 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(190).Digest(Digest::NONE))); in TEST_P()
757 GenerateKey(AuthorizationSetBuilder() in TEST_P()
772 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(size).Digest(Digest::NONE))) in TEST_P()
794 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(curve).Digest(digest))) in TEST_P()
[all …]
DKeymasterHidlTest.h99 ErrorCode GenerateKey(const AuthorizationSet& key_desc, HidlBuf* key_blob,
101 ErrorCode GenerateKey(const AuthorizationSet& key_desc);
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp454 ErrorCode GenerateKey(const AuthorizationSet& key_desc, HidlBuf* key_blob, in GenerateKey() function in android::hardware::keymaster::V3_0::test::KeymasterHidlTest
479 ErrorCode GenerateKey(const AuthorizationSet& key_desc) { in GenerateKey() function in android::hardware::keymaster::V3_0::test::KeymasterHidlTest
480 return GenerateKey(key_desc, &key_blob_, &key_characteristics_); in GenerateKey()
1100 ASSERT_EQ(ErrorCode::OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
1132 GenerateKey(AuthorizationSetBuilder() in TEST_P()
1148 ASSERT_EQ(ErrorCode::OK, GenerateKey(AuthorizationSetBuilder() in TEST_P()
1177 GenerateKey(AuthorizationSetBuilder() in TEST_P()
1191 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(190).Digest(Digest::NONE))); in TEST_P()
1202 GenerateKey(AuthorizationSetBuilder() in TEST_P()
1213 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(size).Digest(Digest::NONE))) in TEST_P()
[all …]
/hardware/interfaces/keymaster/4.0/vts/performance/
DBenchmark.cpp124 bool GenerateKey(const AuthorizationSet& authSet) { in GenerateKey() function in android::hardware::keymaster::V4_0::test::KeymasterWrapper
138 bool GenerateKey(Algorithm algorithm, int keySize, Digest digest = Digest::NONE, in GenerateKey() function in android::hardware::keymaster::V4_0::test::KeymasterWrapper
157 return GenerateKey(authSet);
187 bool GenerateKey(string transform, int keySize, bool sign = false) { in GenerateKey() function in android::hardware::keymaster::V4_0::test::KeymasterWrapper
202 return GenerateKey(*algorithm, keySize, getDigest(transform), getPadding(transform, sign), in GenerateKey()
450 keymaster->GenerateKey(transform, keySize); in keygen()
486 if (!keymaster->GenerateKey(transform, keySize, true)) { in sign()
512 if (!keymaster->GenerateKey(transform, keySize, true)) { in verify()
604 if (!keymaster->GenerateKey(transform, keySize)) { in encrypt()
631 if (!keymaster->GenerateKey(transform, keySize)) { in decrypt()
/hardware/interfaces/keymaster/4.1/vts/functional/
DDeviceUniqueAttestationTest.cpp224 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P()
241 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P()
259 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P()
307 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P()
355 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P()
415 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P()
DKeymaster4_1HidlTest.h48 super::GenerateKey(keyDescription, &keyData.blob, &keyData.characteristics)); in GenerateKeyData()
/hardware/interfaces/security/keymint/aidl/vts/performance/
DKeyMintBenchmark.cpp145 bool GenerateKey(string transform, int keySize, bool sign = false) { in GenerateKey() function in aidl::android::hardware::security::keymint::test::KeyMintBenchmarkTest
188 error_ = GenerateKey(authSet); in GenerateKey()
243 ErrorCode GenerateKey(const AuthorizationSet& key_desc, in GenerateKey() function in aidl::android::hardware::security::keymint::test::KeyMintBenchmarkTest
383 if (!keymintTest->GenerateKey(transform, keySize)) { in keygen()
419 if (!keymintTest->GenerateKey(transform, keySize, true)) { in sign()
448 if (!keymintTest->GenerateKey(transform, keySize, true)) { in verify()
539 if (!keymintTest->GenerateKey(transform, keySize)) { in encrypt()
568 if (!keymintTest->GenerateKey(transform, keySize)) { in decrypt()