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