Lines Matching refs:point
359 const EC_POINT *point)
372 EC_POINT_get_affine_coordinates_GFp(group, point, x, y, ctx) != 1)
521 EC_POINT *point = NULL;
531 point = EC_POINT_new(group);
534 if (!point || !x || !y) {
539 if (!EC_POINT_set_affine_coordinates_GFp(group, point, x, y, ctx)) {
546 if (!EC_POINT_is_on_curve(group, point, ctx) ||
547 EC_POINT_is_at_infinity(group, point)) {
548 wpa_printf(MSG_ERROR, "DPP: Invalid point");
551 dpp_debug_print_point("DPP: dpp_set_pubkey_point_group", group, point);
556 EC_KEY_set_public_key(eckey, point) != 1) {
574 EC_POINT_free(point);
1178 const EC_POINT *point;
1202 point = EC_KEY_get0_public_key(eckey);
1203 if (group && point)
1204 dpp_debug_print_point(title, group, point);
1369 const EC_POINT *point;
1380 point = EC_KEY_get0_public_key(eckey);
1381 if (!group || !point)
1383 dpp_debug_print_point("DPP: bootstrap public key", group, point);
1392 len = EC_POINT_point2oct(group, point, POINT_CONVERSION_COMPRESSED,
1400 len = EC_POINT_point2oct(group, point, POINT_CONVERSION_COMPRESSED,
6724 wpa_printf(MSG_INFO, "DPP: Qi is the point-at-infinity");
6808 wpa_printf(MSG_INFO, "DPP: Qr is the point-at-infinity");
6836 EC_POINT *point;
6843 point = EC_POINT_new(group);
6846 if (!ctx || !point || !x || !y)
6852 /* Generate a random y coordinate that results in a point that is not
6858 if (EC_POINT_set_affine_coordinates_GFp(group, point, x, y,
6863 * when the point is not on the curve. */
6870 if (!EC_POINT_is_on_curve(group, point, ctx))
6886 EC_POINT_free(point);