Searched refs:senderPubkey (Results 1 – 1 of 1) sorted by relevance
623 ErrMsgOr<bytevec> getSessionKey(ErrMsgOr<std::pair<bytevec, bytevec>>& senderPubkey, in getSessionKey() argument628 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() local655 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()