Home
last modified time | relevance | path

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

/system/keymaster/cppcose/
Dcppcose.cpp624 ErrMsgOr<bytevec> consructKdfContext(const bytevec& pubKeyA, const bytevec& privKeyA, in consructKdfContext() argument
626 if (privKeyA.empty() || pubKeyA.empty() || pubKeyB.empty()) { in consructKdfContext()
635 .add(senderIsA ? pubKeyA : pubKeyB)) in consructKdfContext()
639 .add(senderIsA ? pubKeyB : pubKeyA)) in consructKdfContext()
647 ErrMsgOr<bytevec> ECDH_HKDF_DeriveKey(const bytevec& pubKeyA, const bytevec& privKeyA, in ECDH_HKDF_DeriveKey() argument
649 if (privKeyA.empty() || pubKeyA.empty() || pubKeyB.empty()) { in ECDH_HKDF_DeriveKey()
660 auto kdfContext = consructKdfContext(pubKeyA, privKeyA, pubKeyB, senderIsA); in ECDH_HKDF_DeriveKey()
676 ErrMsgOr<bytevec> x25519_HKDF_DeriveKey(const bytevec& pubKeyA, const bytevec& privKeyA, in x25519_HKDF_DeriveKey() argument
678 if (privKeyA.empty() || pubKeyA.empty() || pubKeyB.empty()) { in x25519_HKDF_DeriveKey()
687 auto kdfContext = consructKdfContext(pubKeyA, privKeyA, pubKeyB, senderIsA); in x25519_HKDF_DeriveKey()
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h333 ErrMsgOr<bytevec> ECDH_HKDF_DeriveKey(const bytevec& pubKeyA, const bytevec& privKeyA,