Home
last modified time | relevance | path

Searched refs:EIC_P256_PUB_KEY_SIZE (Results 1 – 4 of 4) sorted by relevance

/device/google/cuttlefish/guest/hals/identity/libeic/
DEicOpsImpl.cc212 uint8_t publicKey[EIC_P256_PUB_KEY_SIZE]) { in eicOpsCreateEcKey() argument
241 if (pubKey.value().size() != EIC_P256_PUB_KEY_SIZE + 1) { 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() argument
313 vector<uint8_t> pubKeyVec(EIC_P256_PUB_KEY_SIZE + 1); in eicOpsSignEcKey()
315 memcpy(pubKeyVec.data() + 1, publicKey, EIC_P256_PUB_KEY_SIZE); in eicOpsSignEcKey()
472 bool eicOpsEcdh(const uint8_t publicKey[EIC_P256_PUB_KEY_SIZE], in eicOpsEcdh() argument
475 vector<uint8_t> pubKeyVec(EIC_P256_PUB_KEY_SIZE + 1); in eicOpsEcdh()
477 memcpy(pubKeyVec.data() + 1, publicKey, EIC_P256_PUB_KEY_SIZE); in eicOpsEcdh()
DEicOps.h57 #define EIC_P256_PUB_KEY_SIZE 64 macro
186 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],
DEicPresentation.c109 uint8_t signingKeyPub[EIC_P256_PUB_KEY_SIZE]; in eicPresentationGenerateSigningKeyPair()
177 uint8_t ephemeralPublicKey[EIC_P256_PUB_KEY_SIZE]; in eicPresentationCreateEphemeralKeyPair()
521 const uint8_t readerEphemeralPublicKey[EIC_P256_PUB_KEY_SIZE], in eicPresentationCalcMacKey() argument
DEicPresentation.h207 const uint8_t readerEphemeralPublicKey[EIC_P256_PUB_KEY_SIZE],