Lines Matching refs:group
24 int EC_POINT_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, in EC_POINT_set_compressed_coordinates() argument
27 if (group->meth->point_set_compressed_coordinates == NULL in EC_POINT_set_compressed_coordinates()
28 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) { in EC_POINT_set_compressed_coordinates()
32 if (!ec_point_is_compat(point, group)) { in EC_POINT_set_compressed_coordinates()
36 if (group->meth->flags & EC_FLAGS_DEFAULT_OCT) { in EC_POINT_set_compressed_coordinates()
37 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_set_compressed_coordinates()
38 return ossl_ec_GFp_simple_set_compressed_coordinates(group, point, x, in EC_POINT_set_compressed_coordinates()
47 return ossl_ec_GF2m_simple_set_compressed_coordinates(group, point, in EC_POINT_set_compressed_coordinates()
51 return group->meth->point_set_compressed_coordinates(group, point, x, in EC_POINT_set_compressed_coordinates()
56 int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group, in EC_POINT_set_compressed_coordinates_GFp() argument
60 return EC_POINT_set_compressed_coordinates(group, point, x, y_bit, ctx); in EC_POINT_set_compressed_coordinates_GFp()
64 int EC_POINT_set_compressed_coordinates_GF2m(const EC_GROUP *group, in EC_POINT_set_compressed_coordinates_GF2m() argument
68 return EC_POINT_set_compressed_coordinates(group, point, x, y_bit, ctx); in EC_POINT_set_compressed_coordinates_GF2m()
73 size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point, in EC_POINT_point2oct() argument
81 if (group->meth->point2oct == 0 in EC_POINT_point2oct()
82 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) { in EC_POINT_point2oct()
86 if (!ec_point_is_compat(point, group)) { in EC_POINT_point2oct()
90 if (group->meth->flags & EC_FLAGS_DEFAULT_OCT) { in EC_POINT_point2oct()
91 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_point2oct()
92 return ossl_ec_GFp_simple_point2oct(group, point, form, buf, len, in EC_POINT_point2oct()
101 return ossl_ec_GF2m_simple_point2oct(group, point, in EC_POINT_point2oct()
106 return group->meth->point2oct(group, point, form, buf, len, ctx); in EC_POINT_point2oct()
109 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point, in EC_POINT_oct2point() argument
112 if (group->meth->oct2point == 0 in EC_POINT_oct2point()
113 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) { in EC_POINT_oct2point()
117 if (!ec_point_is_compat(point, group)) { in EC_POINT_oct2point()
121 if (group->meth->flags & EC_FLAGS_DEFAULT_OCT) { in EC_POINT_oct2point()
122 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_oct2point()
123 return ossl_ec_GFp_simple_oct2point(group, point, buf, len, ctx); in EC_POINT_oct2point()
131 return ossl_ec_GF2m_simple_oct2point(group, point, buf, len, ctx); in EC_POINT_oct2point()
134 return group->meth->oct2point(group, point, buf, len, ctx); in EC_POINT_oct2point()
137 size_t EC_POINT_point2buf(const EC_GROUP *group, const EC_POINT *point, in EC_POINT_point2buf() argument
144 len = EC_POINT_point2oct(group, point, form, NULL, 0, NULL); in EC_POINT_point2buf()
149 len = EC_POINT_point2oct(group, point, form, buf, len, ctx); in EC_POINT_point2buf()