Searched refs:pubY (Results 1 – 2 of 2) sorted by relevance
231 static ErrMsgOr<bytevec> getEcPublicKey(const bytevec& pubX, const bytevec& pubY) { in getEcPublicKey() argument232 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() local244 if (!pubX.has_value() || !pubY.has_value()) { in getEcPublicKey()247 return getEcPublicKey(pubX.value(), pubY.value()); in getEcPublicKey()
550 auto& pubY = senderCoseKey->asMap()->get(CoseKey::PUBKEY_Y); in getSenderPubKeyFromCoseEncrypt() local551 if (!pubY || !pubY->asBstr() || pubY->asBstr()->value().size() != kP256AffinePointSize) { in getSenderPubKeyFromCoseEncrypt()554 auto key = CoseKey::getEcPublicKey(pubX->asBstr()->value(), pubY->asBstr()->value()); in getSenderPubKeyFromCoseEncrypt()