Home
last modified time | relevance | path

Searched refs:sharedSecret (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/guest/hals/identity/libeic/
DEicOpsImpl.cc474 uint8_t sharedSecret[EIC_P256_COORDINATE_SIZE]) { in eicOpsEcdh()
493 memcpy(sharedSecret, shared.value().data(), EIC_P256_COORDINATE_SIZE); in eicOpsEcdh()
497 bool eicOpsHkdf(const uint8_t* sharedSecret, size_t sharedSecretSize, in eicOpsHkdf() argument
501 memcpy(sharedSecretVec.data(), sharedSecret, sharedSecretSize); in eicOpsHkdf()
DEicOps.h238 uint8_t sharedSecret[EIC_P256_COORDINATE_SIZE]);
242 bool eicOpsHkdf(const uint8_t* sharedSecret, size_t sharedSecretSize,
DEicPresentation.c532 uint8_t sharedSecret[EIC_P256_COORDINATE_SIZE]; in eicPresentationCalcMacKey() local
533 if (!eicOpsEcdh(readerEphemeralPublicKey, signingKeyPriv, sharedSecret)) { in eicPresentationCalcMacKey()
547 if (!eicOpsHkdf(sharedSecret, EIC_P256_COORDINATE_SIZE, salt, sizeof(salt), in eicPresentationCalcMacKey()