Home | History | Annotate | Download | only in eap_server

Lines Matching refs:group

95 	wpa_printf(MSG_DEBUG, "EAP-pwd: Selected group number %d",
142 EC_GROUP_free(data->grp->group);
192 ((data->my_element = EC_POINT_new(data->grp->group)) == NULL) ||
206 if (!EC_POINT_mul(data->grp->group, data->my_element, NULL,
214 if (!EC_POINT_invert(data->grp->group, data->my_element, data->bnctx))
228 if (!EC_POINT_get_affine_coordinates_GFp(data->grp->group,
320 if (!EC_POINT_get_affine_coordinates_GFp(data->grp->group,
341 if (!EC_POINT_get_affine_coordinates_GFp(data->grp->group,
484 "group");
519 ((point = EC_POINT_new(data->grp->group)) == NULL) ||
520 ((K = EC_POINT_new(data->grp->group)) == NULL) ||
521 ((data->peer_element = EC_POINT_new(data->grp->group)) == NULL)) {
527 if (!EC_GROUP_get_cofactor(data->grp->group, cofactor, NULL)) {
540 if (!EC_POINT_set_affine_coordinates_GFp(data->grp->group,
548 /* check to ensure peer's element is not in a small sub-group */
550 if (!EC_POINT_mul(data->grp->group, point, NULL,
556 if (EC_POINT_is_at_infinity(data->grp->group, point)) {
564 if ((!EC_POINT_mul(data->grp->group, K, NULL, data->grp->pwe,
566 (!EC_POINT_add(data->grp->group, K, K, data->peer_element,
568 (!EC_POINT_mul(data->grp->group, K, NULL, K, data->private_value,
575 /* ensure that the shared key isn't in a small sub-group */
577 if (!EC_POINT_mul(data->grp->group, K, NULL, K, cofactor,
591 group, K)) {
596 if (!EC_POINT_get_affine_coordinates_GFp(data->grp->group, K, data->k,
628 /* build up the ciphersuite: group | random_function | prf */
656 if (!EC_POINT_get_affine_coordinates_GFp(data->grp->group,
676 if (!EC_POINT_get_affine_coordinates_GFp(data->grp->group,