Lines Matching defs:group

71 int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group,
75 if (group->meth->point_set_compressed_coordinates == 0
76 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) {
81 if (group->meth != point->meth) {
86 if (group->meth->flags & EC_FLAGS_DEFAULT_OCT) {
87 if (group->meth->field_type == NID_X9_62_prime_field)
88 return ec_GFp_simple_set_compressed_coordinates(group, point, x,
98 return ec_GF2m_simple_set_compressed_coordinates(group, point, x,
102 return group->meth->point_set_compressed_coordinates(group, point, x,
107 int EC_POINT_set_compressed_coordinates_GF2m(const EC_GROUP *group,
111 if (group->meth->point_set_compressed_coordinates == 0
112 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) {
117 if (group->meth != point->meth) {
122 if (group->meth->flags & EC_FLAGS_DEFAULT_OCT) {
123 if (group->meth->field_type == NID_X9_62_prime_field)
124 return ec_GFp_simple_set_compressed_coordinates(group, point, x,
127 return ec_GF2m_simple_set_compressed_coordinates(group, point, x,
130 return group->meth->point_set_compressed_coordinates(group, point, x,
135 size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point,
139 if (group->meth->point2oct == 0
140 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) {
144 if (group->meth != point->meth) {
148 if (group->meth->flags & EC_FLAGS_DEFAULT_OCT) {
149 if (group->meth->field_type == NID_X9_62_prime_field)
150 return ec_GFp_simple_point2oct(group, point, form, buf, len, ctx);
158 return ec_GF2m_simple_point2oct(group, point,
163 return group->meth->point2oct(group, point, form, buf, len, ctx);
166 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point,
169 if (group->meth->oct2point == 0
170 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) {
174 if (group->meth != point->meth) {
178 if (group->meth->flags & EC_FLAGS_DEFAULT_OCT) {
179 if (group->meth->field_type == NID_X9_62_prime_field)
180 return ec_GFp_simple_oct2point(group, point, buf, len, ctx);
188 return ec_GF2m_simple_oct2point(group, point, buf, len, ctx);
191 return group->meth->oct2point(group, point, buf, len, ctx);