Home
last modified time | relevance | path

Searched refs:publicKey (Results 1 – 5 of 5) sorted by relevance

/device/google/cuttlefish/guest/hals/identity/libeic/
DEicOpsImpl.cc212 uint8_t publicKey[EIC_P256_PUB_KEY_SIZE]) { in eicOpsCreateEcKey()
248 memcpy(publicKey, pubKey.value().data() + 1, EIC_P256_PUB_KEY_SIZE); in eicOpsCreateEcKey()
303 bool eicOpsSignEcKey(const uint8_t publicKey[EIC_P256_PUB_KEY_SIZE], in eicOpsSignEcKey()
315 memcpy(pubKeyVec.data() + 1, publicKey, EIC_P256_PUB_KEY_SIZE); in eicOpsSignEcKey()
416 uint8_t* publicKey, size_t* publicKeySize) { in eicOpsX509GetPublicKey() argument
432 memcpy(publicKey, res.value().data(), *publicKeySize); in eicOpsX509GetPublicKey()
440 const uint8_t* publicKey, in eicOpsX509CertSignedByPublicKey() argument
443 vector<uint8_t> publicKeyVec(publicKey, publicKey + publicKeySize); in eicOpsX509CertSignedByPublicKey()
451 const uint8_t* publicKey, in eicOpsEcDsaVerifyWithPublicKey() argument
455 vector<uint8_t> publicKeyVec(publicKey, publicKey + publicKeySize); in eicOpsEcDsaVerifyWithPublicKey()
[all …]
DEicOps.h186 uint8_t publicKey[EIC_P256_PUB_KEY_SIZE]);
219 bool eicOpsSignEcKey(const uint8_t publicKey[EIC_P256_PUB_KEY_SIZE],
236 bool eicOpsEcdh(const uint8_t publicKey[EIC_P256_PUB_KEY_SIZE],
273 uint8_t* publicKey, size_t* publicKeySize);
281 const uint8_t* publicKey,
299 const uint8_t* publicKey,
DEicPresentation.c437 uint8_t publicKey[EIC_PRESENTATION_MAX_READER_PUBLIC_KEY_SIZE]; in checkReaderAuth() local
449 publicKey, &publicKeySize)) { in checkReaderAuth()
459 (eicCryptoMemCmp(ctx->readerPublicKey, publicKey, in checkReaderAuth()
/device/google/cuttlefish/guest/hals/identity/common/
DIdentityCredential.cpp184 optional<vector<uint8_t>> publicKey = in createEphemeralKeyPair() local
186 if (!publicKey) { in createEphemeralKeyPair()
192 ephemeralPublicKey_ = publicKey.value(); in createEphemeralKeyPair()
199 const vector<uint8_t>& publicKey) { in setReaderEphemeralPublicKey() argument
200 readerPublicKey_ = publicKey; in setReaderEphemeralPublicKey()
DIdentityCredential.h73 const vector<uint8_t>& publicKey) override;