Lines Matching defs:group
39 int ossl_ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *group,
66 if (!BN_GF2m_mod_arr(x, x_, group->poly))
69 if (!BN_GF2m_mod_sqrt_arr(y, group->b, group->poly, ctx))
72 if (!group->meth->field_sqr(group, tmp, x, ctx))
74 if (!group->meth->field_div(group, tmp, group->b, tmp, ctx))
76 if (!BN_GF2m_add(tmp, group->a, tmp))
81 if (!BN_GF2m_mod_solve_quad_arr(z, tmp, group->poly, ctx)) {
99 if (!group->meth->field_mul(group, y, x, z, ctx))
107 if (!EC_POINT_set_affine_coordinates(group, point, x, y, ctx))
125 size_t ossl_ec_GF2m_simple_point2oct(const EC_GROUP *group,
145 if (EC_POINT_is_at_infinity(group, point)) {
158 field_len = (EC_GROUP_get_degree(group) + 7) / 8;
186 if (!EC_POINT_get_affine_coordinates(group, point, x, y, ctx))
191 if (!group->meth->field_div(group, yxi, y, x, ctx))
256 int ossl_ec_GF2m_simple_oct2point(const EC_GROUP *group, EC_POINT *point,
306 return EC_POINT_set_to_infinity(group, point);
309 m = EC_GROUP_get_degree(group);
343 if (!EC_POINT_set_compressed_coordinates(group, point, x, y_bit, ctx))
364 if (!group->meth->field_div(group, yxi, y, x, ctx))
377 if (!EC_POINT_set_affine_coordinates(group, point, x, y, ctx))