Lines Matching refs:group
119 wpa_printf(MSG_INFO, "EAP-pwd: unsupported group %d", num);
127 if ((grp->group = EC_GROUP_new_by_curve_name(nid)) == NULL) {
134 ((grp->pwe = EC_POINT_new(grp->group)) == NULL) ||
142 if (!EC_GROUP_get_curve_GFp(grp->group, grp->prime, NULL, NULL, NULL))
148 if (!EC_GROUP_get_order(grp->group, grp->order, NULL)) {
152 if (!EC_GROUP_get_cofactor(grp->group, cofactor, NULL)) {
169 "point on curve for group %d, something's "
230 if (!EC_POINT_set_compressed_coordinates_GFp(grp->group,
241 if (!EC_POINT_is_on_curve(grp->group, grp->pwe, NULL)) {
247 /* make sure the point is not in a small sub-group */
248 if (!EC_POINT_mul(grp->group, grp->pwe, NULL, grp->pwe,
254 if (EC_POINT_is_at_infinity(grp->group, grp->pwe)) {
267 EC_GROUP_free(grp->group);
268 grp->group = NULL;