Home
last modified time | relevance | path

Searched refs:pubKey (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/identity/support/tests/
DIdentityCredentialSupportTest.cpp158 optional<vector<uint8_t>> pubKey = support::ecKeyPairGetPublicKey(keyPair.value()); in TEST() local
159 ASSERT_TRUE(pubKey); in TEST()
163 support::checkEcDsaSignature(support::sha256(data), signature.value(), pubKey.value())); in TEST()
169 support::checkEcDsaSignature(support::sha256(data), modifiedSignature, pubKey.value())); in TEST()
174 ASSERT_FALSE(support::checkEcDsaSignature(modifiedDigest, signature.value(), pubKey.value())); in TEST()
208 optional<vector<uint8_t>> pubKey = support::ecKeyPairGetPublicKey(keyPair.value()); in TEST() local
209 ASSERT_TRUE(pubKey); in TEST()
215 pubKey.value())); in TEST()
239 optional<vector<uint8_t>> pubKey = support::ecKeyPairGetPublicKey(keyPair.value()); in TEST() local
240 ASSERT_TRUE(pubKey); in TEST()
[all …]
/hardware/interfaces/identity/aidl/default/
DWritableIdentityCredential.cpp88 optional<vector<uint8_t>> pubKey = support::ecKeyPairGetPublicKey(keyPair); in getAttestationCertificate() local
89 if (!pubKey) { in getAttestationCertificate()
94 credentialPubKey_ = pubKey.value(); in getAttestationCertificate()