Lines Matching refs:Mx
53 BIGNUM *Mx = NULL, *My = NULL; in dpp_pkex_build_exchange_req() local
97 Mx = BN_new(); in dpp_pkex_build_exchange_req()
99 if (!M || !Mx || !My || in dpp_pkex_build_exchange_req()
101 EC_POINT_get_affine_coordinates_GFp(group, M, Mx, My, bnctx) != 1) in dpp_pkex_build_exchange_req()
157 if (dpp_bn2bin_pad(Mx, wpabuf_put(msg, curve->prime_len), in dpp_pkex_build_exchange_req()
159 dpp_bn2bin_pad(Mx, pkex->Mx, curve->prime_len) < 0 || in dpp_pkex_build_exchange_req()
168 BN_clear_free(Mx); in dpp_pkex_build_exchange_req()
358 BIGNUM *Mx = NULL, *My = NULL; in dpp_pkex_rx_exchange_req() local
438 Mx = BN_bin2bn(attr_key, attr_key_len / 2, NULL); in dpp_pkex_rx_exchange_req()
440 if (!X || !M || !Mx || !My || in dpp_pkex_rx_exchange_req()
441 EC_POINT_set_affine_coordinates_GFp(group, M, Mx, My, bnctx) != 1 || in dpp_pkex_rx_exchange_req()
473 os_memcpy(pkex->Mx, attr_key, attr_key_len / 2); in dpp_pkex_rx_exchange_req()
541 pkex->Mx, curve->prime_len, in dpp_pkex_rx_exchange_req()
554 BN_free(Mx); in dpp_pkex_rx_exchange_req()
842 pkex->Mx, curve->prime_len, in dpp_pkex_rx_exchange_resp()