Lines Matching refs:group

71 int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group, EC_POINT *point,
74 if (group->meth->point_set_compressed_coordinates == 0
75 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT))
80 if (group->meth != point->meth)
85 if(group->meth->flags & EC_FLAGS_DEFAULT_OCT)
87 if (group->meth->field_type == NID_X9_62_prime_field)
89 group, point, x, y_bit, ctx);
98 group, point, x, y_bit, ctx);
101 return group->meth->point_set_compressed_coordinates(group, point, x, y_bit, ctx);
105 int EC_POINT_set_compressed_coordinates_GF2m(const EC_GROUP *group, EC_POINT *point,
108 if (group->meth->point_set_compressed_coordinates == 0
109 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT))
114 if (group->meth != point->meth)
119 if(group->meth->flags & EC_FLAGS_DEFAULT_OCT)
121 if (group->meth->field_type == NID_X9_62_prime_field)
123 group, point, x, y_bit, ctx);
126 group, point, x, y_bit, ctx);
128 return group->meth->point_set_compressed_coordinates(group, point, x, y_bit, ctx);
132 size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form,
135 if (group->meth->point2oct == 0
136 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT))
141 if (group->meth != point->meth)
146 if(group->meth->flags & EC_FLAGS_DEFAULT_OCT)
148 if (group->meth->field_type == NID_X9_62_prime_field)
149 return ec_GFp_simple_point2oct(group, point,
158 return ec_GF2m_simple_point2oct(group, point,
163 return group->meth->point2oct(group, point, form, buf, len, ctx);
167 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point,
170 if (group->meth->oct2point == 0
171 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT))
176 if (group->meth != point->meth)
181 if(group->meth->flags & EC_FLAGS_DEFAULT_OCT)
183 if (group->meth->field_type == NID_X9_62_prime_field)
184 return ec_GFp_simple_oct2point(group, point,
193 return ec_GF2m_simple_oct2point(group, point,
197 return group->meth->oct2point(group, point, buf, len, ctx);