Home
last modified time | relevance | path

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

/hardware/interfaces/security/keymint/support/
Dremote_prov_utils.cpp623 ErrMsgOr<bytevec> getSessionKey(ErrMsgOr<std::pair<bytevec, bytevec>>& senderPubkey, in getSessionKey() argument
628 senderPubkey->first, false /* senderIsA */); in getSessionKey()
630 return ECDH_HKDF_DeriveKey(eekChain.last_pubkey, eekChain.last_privkey, senderPubkey->first, in getSessionKey()
654 auto senderPubkey = getSenderPubKeyFromCoseEncrypt(parsedProtectedData); in verifyProtectedData() local
655 if (!senderPubkey) { in verifyProtectedData()
656 return senderPubkey.message(); in verifyProtectedData()
658 if (senderPubkey->second != eekId) { in verifyProtectedData()
662 auto sessionKey = getSessionKey(senderPubkey, eekChain, supportedEekCurve); in verifyProtectedData()