Searched refs:sharedSecret (Results 1 – 3 of 3) sorted by relevance
/device/google/cuttlefish/guest/hals/identity/libeic/ |
D | EicOpsImpl.cc | 474 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()
|
D | EicOps.h | 238 uint8_t sharedSecret[EIC_P256_COORDINATE_SIZE]); 242 bool eicOpsHkdf(const uint8_t* sharedSecret, size_t sharedSecretSize,
|
D | EicPresentation.c | 532 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()
|