Lines Matching refs:EC_GROUP
84 int (*group_init)(EC_GROUP *);
85 void (*group_finish)(EC_GROUP *);
86 void (*group_clear_finish)(EC_GROUP *);
87 int (*group_copy)(EC_GROUP *, const EC_GROUP *);
91 int (*group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
95 int (*point_get_affine_coordinates)(const EC_GROUP *, const EC_POINT *,
103 int (*mul)(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
112 int (*check_pub_key_order)(const EC_GROUP *group, const EC_POINT *pub_key,
120 int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
122 int (*field_sqr)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
124 int (*field_encode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
126 int (*field_decode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
128 int (*field_set_to_one)(const EC_GROUP *, BIGNUM *r, BN_CTX *);
154 } /* EC_GROUP */;
169 EC_GROUP *ec_group_new(const EC_METHOD *meth);
170 int ec_group_copy(EC_GROUP *dest, const EC_GROUP *src);
175 const BN_MONT_CTX *ec_group_get_mont_data(const EC_GROUP *group);
177 int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
181 int ec_GFp_simple_group_init(EC_GROUP *);
182 void ec_GFp_simple_group_finish(EC_GROUP *);
183 void ec_GFp_simple_group_clear_finish(EC_GROUP *);
184 int ec_GFp_simple_group_copy(EC_GROUP *, const EC_GROUP *);
185 int ec_GFp_simple_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
187 int ec_GFp_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a,
189 unsigned ec_GFp_simple_group_get_degree(const EC_GROUP *);
190 int ec_GFp_simple_group_check_discriminant(const EC_GROUP *, BN_CTX *);
195 int ec_GFp_simple_point_set_to_infinity(const EC_GROUP *, EC_POINT *);
196 int ec_GFp_simple_set_Jprojective_coordinates_GFp(const EC_GROUP *, EC_POINT *,
200 int ec_GFp_simple_get_Jprojective_coordinates_GFp(const EC_GROUP *,
204 int ec_GFp_simple_point_set_affine_coordinates(const EC_GROUP *, EC_POINT *,
207 int ec_GFp_simple_point_get_affine_coordinates(const EC_GROUP *,
210 int ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *, EC_POINT *,
213 int ec_GFp_simple_add(const EC_GROUP *, EC_POINT *r, const EC_POINT *a,
215 int ec_GFp_simple_dbl(const EC_GROUP *, EC_POINT *r, const EC_POINT *a,
217 int ec_GFp_simple_invert(const EC_GROUP *, EC_POINT *, BN_CTX *);
218 int ec_GFp_simple_is_at_infinity(const EC_GROUP *, const EC_POINT *);
219 int ec_GFp_simple_is_on_curve(const EC_GROUP *, const EC_POINT *, BN_CTX *);
220 int ec_GFp_simple_cmp(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b,
222 int ec_GFp_simple_make_affine(const EC_GROUP *, EC_POINT *, BN_CTX *);
223 int ec_GFp_simple_points_make_affine(const EC_GROUP *, size_t num,
225 int ec_GFp_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
227 int ec_GFp_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
231 int ec_GFp_mont_group_init(EC_GROUP *);
232 int ec_GFp_mont_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
234 void ec_GFp_mont_group_finish(EC_GROUP *);
235 void ec_GFp_mont_group_clear_finish(EC_GROUP *);
236 int ec_GFp_mont_group_copy(EC_GROUP *, const EC_GROUP *);
237 int ec_GFp_mont_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
239 int ec_GFp_mont_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
241 int ec_GFp_mont_field_encode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
243 int ec_GFp_mont_field_decode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
245 int ec_GFp_mont_field_set_to_one(const EC_GROUP *, BIGNUM *r, BN_CTX *);
247 int ec_point_set_Jprojective_coordinates_GFp(const EC_GROUP *group,
273 EC_GROUP *group;