Lines Matching refs:publicKey
689 const vector<uint8_t>& publicKey) { in certificateSignedByPublicKey() argument
699 if (EC_POINT_oct2point(group.get(), point.get(), publicKey.data(), publicKey.size(), nullptr) != in certificateSignedByPublicKey()
763 const vector<uint8_t>& publicKey) { in checkEcDsaSignature() argument
773 if (EC_POINT_oct2point(group.get(), point.get(), publicKey.data(), publicKey.size(), nullptr) != in checkEcDsaSignature()
1006 const vector<uint8_t>& publicKey, const vector<uint8_t>& challenge, in createAttestationForEcPublicKey() argument
1010 if (EC_POINT_oct2point(group.get(), point.get(), publicKey.data(), publicKey.size(), nullptr) != in createAttestationForEcPublicKey()
1110 vector<uint8_t> publicKey; in ecKeyPairGetPublicKey() local
1111 publicKey.resize(size); in ecKeyPairGetPublicKey()
1112 EC_POINT_point2oct(ecGroup, ecPoint, POINT_CONVERSION_UNCOMPRESSED, publicKey.data(), in ecKeyPairGetPublicKey()
1113 publicKey.size(), nullptr); in ecKeyPairGetPublicKey()
1114 return publicKey; in ecKeyPairGetPublicKey()
1293 const vector<uint8_t>& publicKey, const vector<uint8_t>& signingKey, in ecPublicKeyGenerateCertificate() argument
1298 if (EC_POINT_oct2point(group.get(), point.get(), publicKey.data(), publicKey.size(), nullptr) != in ecPublicKeyGenerateCertificate()
1417 optional<vector<uint8_t>> ecdh(const vector<uint8_t>& publicKey, in ecdh() argument
1421 if (EC_POINT_oct2point(group.get(), point.get(), publicKey.data(), publicKey.size(), nullptr) != in ecdh()
1512 const vector<uint8_t>& publicKey) { in ecPublicKeyGetXandY() argument
1513 if (publicKey.size() != 65 || publicKey[0] != 0x04) { in ecPublicKeyGetXandY()
1520 memcpy(x.data(), publicKey.data() + 1, 32); in ecPublicKeyGetXandY()
1521 memcpy(y.data(), publicKey.data() + 33, 32); in ecPublicKeyGetXandY()
1565 vector<uint8_t> publicKey; in certificateChainGetTopMostKey() local
1566 publicKey.resize(size); in certificateChainGetTopMostKey()
1567 EC_POINT_point2oct(ecGroup, ecPoint, POINT_CONVERSION_UNCOMPRESSED, publicKey.data(), in certificateChainGetTopMostKey()
1568 publicKey.size(), nullptr); in certificateChainGetTopMostKey()
1569 return publicKey; in certificateChainGetTopMostKey()
1602 vector<uint8_t> publicKey; in certificateFindPublicKey() local
1603 publicKey.resize(size); in certificateFindPublicKey()
1604 EC_POINT_point2oct(ecGroup, ecPoint, POINT_CONVERSION_UNCOMPRESSED, publicKey.data(), in certificateFindPublicKey()
1605 publicKey.size(), nullptr); in certificateFindPublicKey()
1610 (const void*)publicKey.data(), publicKey.size()); in certificateFindPublicKey()
1894 const vector<uint8_t>& publicKey) { in coseCheckEcDsaSignature() argument
1960 if (!checkEcDsaSignature(support::sha256(toBeSigned), derSignature, publicKey)) { in coseCheckEcDsaSignature()