• Home
  • Raw
  • Download

Lines Matching refs:group

18 int EC_POINT_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point,  in EC_POINT_set_compressed_coordinates()  argument
21 if (group->meth->point_set_compressed_coordinates == NULL in EC_POINT_set_compressed_coordinates()
22 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) { in EC_POINT_set_compressed_coordinates()
27 if (!ec_point_is_compat(point, group)) { in EC_POINT_set_compressed_coordinates()
32 if (group->meth->flags & EC_FLAGS_DEFAULT_OCT) { in EC_POINT_set_compressed_coordinates()
33 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_set_compressed_coordinates()
34 return ec_GFp_simple_set_compressed_coordinates(group, point, x, in EC_POINT_set_compressed_coordinates()
44 return ec_GF2m_simple_set_compressed_coordinates(group, point, x, in EC_POINT_set_compressed_coordinates()
48 return group->meth->point_set_compressed_coordinates(group, point, x, in EC_POINT_set_compressed_coordinates()
53 int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group, in EC_POINT_set_compressed_coordinates_GFp() argument
57 return EC_POINT_set_compressed_coordinates(group, point, x, y_bit, ctx); in EC_POINT_set_compressed_coordinates_GFp()
61 int EC_POINT_set_compressed_coordinates_GF2m(const EC_GROUP *group, in EC_POINT_set_compressed_coordinates_GF2m() argument
65 return EC_POINT_set_compressed_coordinates(group, point, x, y_bit, ctx); in EC_POINT_set_compressed_coordinates_GF2m()
70 size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point, in EC_POINT_point2oct() argument
74 if (group->meth->point2oct == 0 in EC_POINT_point2oct()
75 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) { in EC_POINT_point2oct()
79 if (!ec_point_is_compat(point, group)) { in EC_POINT_point2oct()
83 if (group->meth->flags & EC_FLAGS_DEFAULT_OCT) { in EC_POINT_point2oct()
84 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_point2oct()
85 return ec_GFp_simple_point2oct(group, point, form, buf, len, ctx); in EC_POINT_point2oct()
93 return ec_GF2m_simple_point2oct(group, point, in EC_POINT_point2oct()
98 return group->meth->point2oct(group, point, form, buf, len, ctx); in EC_POINT_point2oct()
101 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point, in EC_POINT_oct2point() argument
104 if (group->meth->oct2point == 0 in EC_POINT_oct2point()
105 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) { in EC_POINT_oct2point()
109 if (!ec_point_is_compat(point, group)) { in EC_POINT_oct2point()
113 if (group->meth->flags & EC_FLAGS_DEFAULT_OCT) { in EC_POINT_oct2point()
114 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_oct2point()
115 return ec_GFp_simple_oct2point(group, point, buf, len, ctx); in EC_POINT_oct2point()
123 return ec_GF2m_simple_oct2point(group, point, buf, len, ctx); in EC_POINT_oct2point()
126 return group->meth->oct2point(group, point, buf, len, ctx); in EC_POINT_oct2point()
129 size_t EC_POINT_point2buf(const EC_GROUP *group, const EC_POINT *point, in EC_POINT_point2buf() argument
136 len = EC_POINT_point2oct(group, point, form, NULL, 0, NULL); in EC_POINT_point2buf()
143 len = EC_POINT_point2oct(group, point, form, buf, len, ctx); in EC_POINT_point2buf()