Lines Matching refs:Qr
355 EC_POINT *Qi = NULL, *Qr = NULL, *M = NULL, *X = NULL, *N = NULL; in dpp_pkex_rx_exchange_req() local
486 Qr = dpp_pkex_derive_Qr(curve, own_mac, code, identifier, bnctx, NULL); in dpp_pkex_rx_exchange_req()
487 if (!Qr) in dpp_pkex_rx_exchange_req()
521 EC_POINT_add(group, N, Y_point, Qr, bnctx) != 1 || in dpp_pkex_rx_exchange_req()
553 EC_POINT_free(Qr); in dpp_pkex_rx_exchange_req()
695 EC_POINT *Qr = NULL, *Y = NULL, *N = NULL; in dpp_pkex_rx_exchange_resp() local
771 Qr = dpp_pkex_derive_Qr(curve, pkex->peer_mac, pkex->code, in dpp_pkex_rx_exchange_resp()
773 if (!Qr) in dpp_pkex_rx_exchange_resp()
785 EC_POINT_invert(group, Qr, bnctx) != 1 || in dpp_pkex_rx_exchange_resp()
786 EC_POINT_add(group, Y, N, Qr, bnctx) != 1 || in dpp_pkex_rx_exchange_resp()
858 EC_POINT_free(Qr); in dpp_pkex_rx_exchange_resp()