Lines Matching refs:EC_GROUP

90   int (*group_init)(EC_GROUP *);
91 void (*group_finish)(EC_GROUP *);
92 void (*group_clear_finish)(EC_GROUP *);
93 int (*group_copy)(EC_GROUP *, const EC_GROUP *);
97 int (*group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
99 int (*group_get_curve)(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b,
103 int (*group_get_degree)(const EC_GROUP *);
106 int (*group_check_discriminant)(const EC_GROUP *, BN_CTX *);
121 int (*point_set_to_infinity)(const EC_GROUP *, EC_POINT *);
122 int (*point_set_Jprojective_coordinates_GFp)(const EC_GROUP *, EC_POINT *,
125 int (*point_get_Jprojective_coordinates_GFp)(const EC_GROUP *,
128 int (*point_set_affine_coordinates)(const EC_GROUP *, EC_POINT *,
131 int (*point_get_affine_coordinates)(const EC_GROUP *, const EC_POINT *,
133 int (*point_set_compressed_coordinates)(const EC_GROUP *, EC_POINT *,
137 size_t (*point2oct)(const EC_GROUP *, const EC_POINT *,
140 int (*oct2point)(const EC_GROUP *, EC_POINT *, const unsigned char *buf,
144 int (*add)(const EC_GROUP *, EC_POINT *r, const EC_POINT *a,
146 int (*dbl)(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *);
147 int (*invert)(const EC_GROUP *, EC_POINT *, BN_CTX *);
150 int (*is_at_infinity)(const EC_GROUP *, const EC_POINT *);
151 int (*is_on_curve)(const EC_GROUP *, const EC_POINT *, BN_CTX *);
152 int (*point_cmp)(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b,
156 int (*make_affine)(const EC_GROUP *, EC_POINT *, BN_CTX *);
157 int (*points_make_affine)(const EC_GROUP *, size_t num, EC_POINT * [],
163 int (*mul)(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
166 int (*precompute_mult)(EC_GROUP *group, BN_CTX *);
167 int (*have_precompute_mult)(const EC_GROUP *group);
175 int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
177 int (*field_sqr)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
178 int (*field_div)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
181 int (*field_encode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
183 int (*field_decode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
185 int (*field_set_to_one)(const EC_GROUP *, BIGNUM *r, BN_CTX *);
230 EC_GROUP *ec_group_new(const EC_METHOD *meth);
231 int ec_group_copy(EC_GROUP *dest, const EC_GROUP *src);
233 int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
236 int ec_wNAF_precompute_mult(EC_GROUP *group, BN_CTX *);
237 int ec_wNAF_have_precompute_mult(const EC_GROUP *group);
240 int ec_GFp_simple_group_init(EC_GROUP *);
241 void ec_GFp_simple_group_finish(EC_GROUP *);
242 void ec_GFp_simple_group_clear_finish(EC_GROUP *);
243 int ec_GFp_simple_group_copy(EC_GROUP *, const EC_GROUP *);
244 int ec_GFp_simple_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
246 int ec_GFp_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a,
248 int ec_GFp_simple_group_get_degree(const EC_GROUP *);
249 int ec_GFp_simple_group_check_discriminant(const EC_GROUP *, BN_CTX *);
254 int ec_GFp_simple_point_set_to_infinity(const EC_GROUP *, EC_POINT *);
255 int ec_GFp_simple_set_Jprojective_coordinates_GFp(const EC_GROUP *, EC_POINT *,
259 int ec_GFp_simple_get_Jprojective_coordinates_GFp(const EC_GROUP *,
263 int ec_GFp_simple_point_set_affine_coordinates(const EC_GROUP *, EC_POINT *,
266 int ec_GFp_simple_point_get_affine_coordinates(const EC_GROUP *,
269 int ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *, EC_POINT *,
272 int ec_GFp_simple_add(const EC_GROUP *, EC_POINT *r, const EC_POINT *a,
274 int ec_GFp_simple_dbl(const EC_GROUP *, EC_POINT *r, const EC_POINT *a,
276 int ec_GFp_simple_invert(const EC_GROUP *, EC_POINT *, BN_CTX *);
277 int ec_GFp_simple_is_at_infinity(const EC_GROUP *, const EC_POINT *);
278 int ec_GFp_simple_is_on_curve(const EC_GROUP *, const EC_POINT *, BN_CTX *);
279 int ec_GFp_simple_cmp(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b,
281 int ec_GFp_simple_make_affine(const EC_GROUP *, EC_POINT *, BN_CTX *);
282 int ec_GFp_simple_points_make_affine(const EC_GROUP *, size_t num,
284 int ec_GFp_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
286 int ec_GFp_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
290 int ec_GFp_mont_group_init(EC_GROUP *);
291 int ec_GFp_mont_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
293 void ec_GFp_mont_group_finish(EC_GROUP *);
294 void ec_GFp_mont_group_clear_finish(EC_GROUP *);
295 int ec_GFp_mont_group_copy(EC_GROUP *, const EC_GROUP *);
296 int ec_GFp_mont_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
298 int ec_GFp_mont_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
300 int ec_GFp_mont_field_encode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
302 int ec_GFp_mont_field_decode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
304 int ec_GFp_mont_field_set_to_one(const EC_GROUP *, BIGNUM *r, BN_CTX *);
306 int ec_point_set_Jprojective_coordinates_GFp(const EC_GROUP *group,
327 EC_GROUP *group;