Lines Matching refs:EC_POINT
79 int (*group_set_generator)(EC_GROUP *, const EC_POINT *generator,
81 EC_POINT *(*group_get0_generator)(const EC_GROUP *);
86 int (*point_init)(EC_POINT *);
87 void (*point_finish)(EC_POINT *);
88 void (*point_clear_finish)(EC_POINT *);
89 int (*point_copy)(EC_POINT *, const EC_POINT *);
96 int (*point_set_to_infinity)(const EC_GROUP *, EC_POINT *);
97 int (*point_set_Jprojective_coordinates_GFp)(const EC_GROUP *, EC_POINT *,
99 int (*point_get_Jprojective_coordinates_GFp)(const EC_GROUP *, const EC_POINT *,
101 int (*point_set_affine_coordinates_GFp)(const EC_GROUP *, EC_POINT *,
103 int (*point_get_affine_coordinates_GFp)(const EC_GROUP *, const EC_POINT *,
105 int (*point_set_compressed_coordinates_GFp)(const EC_GROUP *, EC_POINT *,
109 size_t (*point2oct)(const EC_GROUP *, const EC_POINT *, point_conversion_form_t form,
111 int (*oct2point)(const EC_GROUP *, EC_POINT *,
115 int (*add)(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *);
116 int (*dbl)(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *);
117 int (*invert)(const EC_GROUP *, EC_POINT *, BN_CTX *);
120 int (*is_at_infinity)(const EC_GROUP *, const EC_POINT *);
121 int (*is_on_curve)(const EC_GROUP *, const EC_POINT *, BN_CTX *);
122 int (*point_cmp)(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b, BN_CTX *);
125 int (*make_affine)(const EC_GROUP *, EC_POINT *, BN_CTX *);
126 int (*points_make_affine)(const EC_GROUP *, size_t num, EC_POINT *[], BN_CTX *);
166 EC_POINT *generator; /* optional */
200 } /* EC_POINT */;
211 int ec_GFp_simple_group_set_generator(EC_GROUP *, const EC_POINT *generator,
213 EC_POINT *ec_GFp_simple_group_get0_generator(const EC_GROUP *);
216 int ec_GFp_simple_point_init(EC_POINT *);
217 void ec_GFp_simple_point_finish(EC_POINT *);
218 void ec_GFp_simple_point_clear_finish(EC_POINT *);
219 int ec_GFp_simple_point_copy(EC_POINT *, const EC_POINT *);
220 int ec_GFp_simple_point_set_to_infinity(const EC_GROUP *, EC_POINT *);
221 int ec_GFp_simple_set_Jprojective_coordinates_GFp(const EC_GROUP *, EC_POINT *,
223 int ec_GFp_simple_get_Jprojective_coordinates_GFp(const EC_GROUP *, const EC_POINT *,
225 int ec_GFp_simple_point_set_affine_coordinates_GFp(const EC_GROUP *, EC_POINT *,
227 int ec_GFp_simple_point_get_affine_coordinates_GFp(const EC_GROUP *, const EC_POINT *,
229 int ec_GFp_simple_set_compressed_coordinates_GFp(const EC_GROUP *, EC_POINT *,
231 size_t ec_GFp_simple_point2oct(const EC_GROUP *, const EC_POINT *, point_conversion_form_t form,
233 int ec_GFp_simple_oct2point(const EC_GROUP *, EC_POINT *,
235 int ec_GFp_simple_add(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *);
236 int ec_GFp_simple_dbl(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *);
237 int ec_GFp_simple_invert(const EC_GROUP *, EC_POINT *, BN_CTX *);
238 int ec_GFp_simple_is_at_infinity(const EC_GROUP *, const EC_POINT *);
239 int ec_GFp_simple_is_on_curve(const EC_GROUP *, const EC_POINT *, BN_CTX *);
240 int ec_GFp_simple_cmp(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b, BN_CTX *);
241 int ec_GFp_simple_make_affine(const EC_GROUP *, EC_POINT *, BN_CTX *);
242 int ec_GFp_simple_points_make_affine(const EC_GROUP *, size_t num, EC_POINT *[], BN_CTX *);