Lines Matching refs:group

100 	grp->group = crypto_ec_init(num);  in get_eap_pwd_group()
101 if (!grp->group) { in get_eap_pwd_group()
150 prime = crypto_ec_get_prime(grp->group); in compute_password_element()
151 primebitlen = crypto_ec_prime_len_bits(grp->group); in compute_password_element()
152 primebytelen = crypto_ec_prime_len(grp->group); in compute_password_element()
234 tmp2 = crypto_ec_point_compute_y_sqr(grp->group, x_candidate); in compute_password_element()
238 res = dragonfly_is_quadratic_residue_blind(grp->group, qr_bin, in compute_password_element()
271 y = crypto_ec_point_compute_y_sqr(grp->group, x_candidate); in compute_password_element()
273 dragonfly_sqrt(grp->group, y, y) < 0 || in compute_password_element()
289 grp->pwe = crypto_ec_point_from_bin(grp->group, x_y); in compute_password_element()
300 if (!crypto_ec_point_is_on_curve(grp->group, grp->pwe)) { in compute_password_element()
341 prime_len = crypto_ec_prime_len(grp->group); in compute_keys()
342 order_len = crypto_ec_order_len(grp->group); in compute_keys()
407 struct crypto_ec_point * eap_pwd_get_element(EAP_PWD_group *group, in eap_pwd_get_element() argument
414 prime = crypto_ec_get_prime(group->group); in eap_pwd_get_element()
415 prime_len = crypto_ec_prime_len(group->group); in eap_pwd_get_element()
424 element = crypto_ec_point_from_bin(group->group, buf); in eap_pwd_get_element()
431 if (!crypto_ec_point_is_on_curve(group->group, element) || in eap_pwd_get_element()
432 crypto_ec_point_is_at_infinity(group->group, element)) { in eap_pwd_get_element()
446 struct crypto_bignum * eap_pwd_get_scalar(EAP_PWD_group *group, const u8 *buf) in eap_pwd_get_scalar() argument
452 order = crypto_ec_get_order(group->group); in eap_pwd_get_scalar()
453 order_len = crypto_ec_order_len(group->group); in eap_pwd_get_scalar()
469 int eap_pwd_get_rand_mask(EAP_PWD_group *group, struct crypto_bignum *_rand, in eap_pwd_get_rand_mask() argument
473 return dragonfly_generate_scalar(crypto_ec_get_order(group->group), in eap_pwd_get_rand_mask()