/hardware/interfaces/identity/aidl/default/common/ |
D | PresentationSession.cpp | 95 const vector<uint8_t>& publicKey) { in setReaderEphemeralPublicKey() argument 100 if (publicKey.size() != 65 || publicKey[0] != 0x04) { in setReaderEphemeralPublicKey() 105 readerPublicKey_ = publicKey; in setReaderEphemeralPublicKey() 106 vector<uint8_t> pubKeyP256(publicKey.begin() + 1, publicKey.end()); in setReaderEphemeralPublicKey()
|
D | PresentationSession.h | 61 ndk::ScopedAStatus setReaderEphemeralPublicKey(const vector<uint8_t>& publicKey) override;
|
D | IdentityCredential.cpp | 222 optional<vector<uint8_t>> publicKey = support::ecKeyPairGetPublicKey(keyPair.value()); in createEphemeralKeyPair() local 223 if (!publicKey) { in createEphemeralKeyPair() 229 ephemeralPublicKey_ = publicKey.value(); in createEphemeralKeyPair() 236 const vector<uint8_t>& publicKey) { in setReaderEphemeralPublicKey() argument 241 readerPublicKey_ = publicKey; in setReaderEphemeralPublicKey()
|
D | IdentityCredential.h | 72 ndk::ScopedAStatus setReaderEphemeralPublicKey(const vector<uint8_t>& publicKey) override;
|
/hardware/interfaces/identity/aidl/default/libeic/ |
D | EicOps.h | 195 uint8_t publicKey[EIC_P256_PUB_KEY_SIZE]); 234 bool eicOpsSignEcKey(const uint8_t publicKey[EIC_P256_PUB_KEY_SIZE], 249 bool eicOpsEcdh(const uint8_t publicKey[EIC_P256_PUB_KEY_SIZE], 281 bool eicOpsX509GetPublicKey(const uint8_t* x509Cert, size_t x509CertSize, uint8_t* publicKey, 289 const uint8_t* publicKey, size_t publicKeySize); 305 const uint8_t* publicKey, size_t publicKeySize);
|
D | EicPresentation.c | 480 uint8_t publicKey[EIC_PRESENTATION_MAX_READER_PUBLIC_KEY_SIZE]; in checkReaderAuth() local 491 if (!eicOpsX509GetPublicKey(readerCertificate, readerCertificateSize, publicKey, in checkReaderAuth() 502 (eicCryptoMemCmp(ctx->readerPublicKey, publicKey, ctx->readerPublicKeySize) != 0)) { in checkReaderAuth()
|
/hardware/interfaces/identity/support/include/android/hardware/identity/support/ |
D | IdentityCredentialSupport.h | 144 const vector<uint8_t>& publicKey, const vector<uint8_t>& challenge, 199 const vector<uint8_t>& publicKey); 249 const vector<uint8_t>& publicKey, const vector<uint8_t>& signingKey, 257 EVP_PKEY* publicKey, EVP_PKEY* signingKey, const string& serialDecimal, 267 optional<vector<uint8_t>> ecdh(const vector<uint8_t>& publicKey, const vector<uint8_t>& privateKey); 282 tuple<bool, vector<uint8_t>, vector<uint8_t>> ecPublicKeyGetXandY(const vector<uint8_t>& publicKey); 309 const vector<uint8_t>& publicKey); 344 const vector<uint8_t>& publicKey); 398 const vector<uint8_t>& publicKey,
|
/hardware/interfaces/identity/aidl/default/ |
D | EicOpsImpl.cc | 232 uint8_t publicKey[EIC_P256_PUB_KEY_SIZE]) { in eicOpsCreateEcKey() 264 memcpy(publicKey, pubKey.value().data() + 1, EIC_P256_PUB_KEY_SIZE); in eicOpsCreateEcKey() 333 bool eicOpsSignEcKey(const uint8_t publicKey[EIC_P256_PUB_KEY_SIZE], in eicOpsSignEcKey() 343 memcpy(pubKeyVec.data() + 1, publicKey, EIC_P256_PUB_KEY_SIZE); in eicOpsSignEcKey() 439 bool eicOpsX509GetPublicKey(const uint8_t* x509Cert, size_t x509CertSize, uint8_t* publicKey, in eicOpsX509GetPublicKey() argument 455 memcpy(publicKey, res.value().data(), *publicKeySize); in eicOpsX509GetPublicKey() 462 const uint8_t* publicKey, size_t publicKeySize) { in eicOpsX509CertSignedByPublicKey() argument 464 vector<uint8_t> publicKeyVec(publicKey, publicKey + publicKeySize); in eicOpsX509CertSignedByPublicKey() 471 const uint8_t* publicKey, size_t publicKeySize) { in eicOpsEcDsaVerifyWithPublicKey() argument 474 vector<uint8_t> publicKeyVec(publicKey, publicKey + publicKeySize); in eicOpsEcDsaVerifyWithPublicKey() [all …]
|
/hardware/interfaces/identity/support/src/ |
D | IdentityCredentialSupport.cpp | 645 const vector<uint8_t>& publicKey) { in certificateSignedByPublicKey() argument 655 if (EC_POINT_oct2point(group.get(), point.get(), publicKey.data(), publicKey.size(), nullptr) != in certificateSignedByPublicKey() 719 const vector<uint8_t>& publicKey) { in checkEcDsaSignature() argument 729 if (EC_POINT_oct2point(group.get(), point.get(), publicKey.data(), publicKey.size(), nullptr) != in checkEcDsaSignature() 902 const vector<uint8_t>& publicKey, const vector<uint8_t>& challenge, in createAttestationForEcPublicKey() argument 906 if (EC_POINT_oct2point(group.get(), point.get(), publicKey.data(), publicKey.size(), nullptr) != in createAttestationForEcPublicKey() 1000 vector<uint8_t> publicKey; in ecKeyPairGetPublicKey() local 1001 publicKey.resize(size); in ecKeyPairGetPublicKey() 1002 EC_POINT_point2oct(ecGroup, ecPoint, POINT_CONVERSION_UNCOMPRESSED, publicKey.data(), in ecKeyPairGetPublicKey() 1003 publicKey.size(), nullptr); in ecKeyPairGetPublicKey() [all …]
|
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/5/android/hardware/identity/ |
D | IPresentationSession.aidl | 39 void setReaderEphemeralPublicKey(in byte[] publicKey); in setReaderEphemeralPublicKey() argument
|
D | IIdentityCredential.aidl | 42 void setReaderEphemeralPublicKey(in byte[] publicKey); in setReaderEphemeralPublicKey() argument
|
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/current/android/hardware/identity/ |
D | IPresentationSession.aidl | 39 void setReaderEphemeralPublicKey(in byte[] publicKey); in setReaderEphemeralPublicKey() argument
|
D | IIdentityCredential.aidl | 42 void setReaderEphemeralPublicKey(in byte[] publicKey); in setReaderEphemeralPublicKey() argument
|
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/4/android/hardware/identity/ |
D | IPresentationSession.aidl | 39 void setReaderEphemeralPublicKey(in byte[] publicKey); in setReaderEphemeralPublicKey() argument
|
D | IIdentityCredential.aidl | 42 void setReaderEphemeralPublicKey(in byte[] publicKey); in setReaderEphemeralPublicKey() argument
|
/hardware/interfaces/identity/aidl/android/hardware/identity/ |
D | IPresentationSession.aidl | 66 void setReaderEphemeralPublicKey(in byte[] publicKey); in setReaderEphemeralPublicKey() argument
|
D | IIdentityCredential.aidl | 85 void setReaderEphemeralPublicKey(in byte[] publicKey); in setReaderEphemeralPublicKey() argument
|
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/1/android/hardware/identity/ |
D | IIdentityCredential.aidl | 23 void setReaderEphemeralPublicKey(in byte[] publicKey); in setReaderEphemeralPublicKey() argument
|
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/2/android/hardware/identity/ |
D | IIdentityCredential.aidl | 23 void setReaderEphemeralPublicKey(in byte[] publicKey); in setReaderEphemeralPublicKey() argument
|
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/3/android/hardware/identity/ |
D | IIdentityCredential.aidl | 42 void setReaderEphemeralPublicKey(in byte[] publicKey); in setReaderEphemeralPublicKey() argument
|
/hardware/interfaces/identity/aidl/vts/ |
D | ReaderAuthTests.cpp | 117 optional<vector<uint8_t>> publicKey = support::ecKeyPairGetPublicKey(keyPKCS8.value()); in generateReaderKey() local 119 return make_pair(publicKey.value(), privateKey.value()); in generateReaderKey() 122 vector<uint8_t> generateReaderCert(const vector<uint8_t>& publicKey, in generateReaderCert() argument 127 publicKey, signingKey, "24601", "Issuer", "Subject", validityNotBefore, in generateReaderCert()
|
D | Util.cpp | 78 ::aidl::android::hardware::security::keymint::EVP_PKEY_Ptr publicKey; in createFakeRemotelyProvisionedCertificateChain() 79 p256_pub_key(publicKeyBits, &publicKey); in createFakeRemotelyProvisionedCertificateChain() 125 publicKey.get(), rootKey.get(), in createFakeRemotelyProvisionedCertificateChain()
|
D | UserAuthTests.cpp | 150 vector<uint8_t> generateReaderCert(const vector<uint8_t>& publicKey,
|
/hardware/interfaces/security/keymint/support/ |
D | remote_prov_utils.cpp | 83 bytevec publicKey; in ecKeyGetPublicKey() local 84 publicKey.resize(size); in ecKeyGetPublicKey() 85 EC_POINT_point2oct(group.get(), point, POINT_CONVERSION_UNCOMPRESSED, publicKey.data(), in ecKeyGetPublicKey() 86 publicKey.size(), nullptr); in ecKeyGetPublicKey() 87 return publicKey; in ecKeyGetPublicKey()
|