Home
last modified time | relevance | path

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

/system/keymaster/include/keymaster/cppcose/
Dcppcose.h231 static ErrMsgOr<bytevec> getEcPublicKey(const bytevec& pubX, const bytevec& pubY) { in getEcPublicKey() argument
232 if (pubX.empty() || pubY.empty()) { in getEcPublicKey()
237 pubKey.insert(pubKey.end(), pubY.begin(), pubY.end()); in getEcPublicKey()
243 auto pubY = getBstrValue(PUBKEY_Y); in getEcPublicKey() local
244 if (!pubX.has_value() || !pubY.has_value()) { in getEcPublicKey()
247 return getEcPublicKey(pubX.value(), pubY.value()); in getEcPublicKey()
/system/keymaster/cppcose/
Dcppcose.cpp550 auto& pubY = senderCoseKey->asMap()->get(CoseKey::PUBKEY_Y); in getSenderPubKeyFromCoseEncrypt() local
551 if (!pubY || !pubY->asBstr() || pubY->asBstr()->value().size() != kP256AffinePointSize) { in getSenderPubKeyFromCoseEncrypt()
554 auto key = CoseKey::getEcPublicKey(pubX->asBstr()->value(), pubY->asBstr()->value()); in getSenderPubKeyFromCoseEncrypt()