Home | History | Annotate | Download | only in ec

Lines Matching refs:EC_GROUP

83   int (*group_init)(EC_GROUP *);
84 void (*group_finish)(EC_GROUP *);
85 int (*group_copy)(EC_GROUP *, const EC_GROUP *);
86 int (*group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
88 int (*point_get_affine_coordinates)(const EC_GROUP *, const EC_POINT *,
96 int (*mul)(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
102 int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
104 int (*field_sqr)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
106 int (*field_encode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
108 int (*field_decode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
136 } /* EC_GROUP */;
147 EC_GROUP *ec_group_new(const EC_METHOD *meth);
148 int ec_group_copy(EC_GROUP *dest, const EC_GROUP *src);
153 const BN_MONT_CTX *ec_group_get_mont_data(const EC_GROUP *group);
155 int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
159 int ec_GFp_simple_group_init(EC_GROUP *);
160 void ec_GFp_simple_group_finish(EC_GROUP *);
161 int ec_GFp_simple_group_copy(EC_GROUP *, const EC_GROUP *);
162 int ec_GFp_simple_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
164 int ec_GFp_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a,
166 unsigned ec_GFp_simple_group_get_degree(const EC_GROUP *);
171 int ec_GFp_simple_point_set_to_infinity(const EC_GROUP *, EC_POINT *);
172 int ec_GFp_simple_set_Jprojective_coordinates_GFp(const EC_GROUP *, EC_POINT *,
176 int ec_GFp_simple_get_Jprojective_coordinates_GFp(const EC_GROUP *,
180 int ec_GFp_simple_point_set_affine_coordinates(const EC_GROUP *, EC_POINT *,
183 int ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *, EC_POINT *,
186 int ec_GFp_simple_add(const EC_GROUP *, EC_POINT *r, const EC_POINT *a,
188 int ec_GFp_simple_dbl(const EC_GROUP *, EC_POINT *r, const EC_POINT *a,
190 int ec_GFp_simple_invert(const EC_GROUP *, EC_POINT *, BN_CTX *);
191 int ec_GFp_simple_is_at_infinity(const EC_GROUP *, const EC_POINT *);
192 int ec_GFp_simple_is_on_curve(const EC_GROUP *, const EC_POINT *, BN_CTX *);
193 int ec_GFp_simple_cmp(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b,
195 int ec_GFp_simple_make_affine(const EC_GROUP *, EC_POINT *, BN_CTX *);
196 int ec_GFp_simple_points_make_affine(const EC_GROUP *, size_t num,
198 int ec_GFp_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
200 int ec_GFp_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
204 int ec_GFp_mont_group_init(EC_GROUP *);
205 int ec_GFp_mont_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
207 void ec_GFp_mont_group_finish(EC_GROUP *);
208 int ec_GFp_mont_group_copy(EC_GROUP *, const EC_GROUP *);
209 int ec_GFp_mont_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
211 int ec_GFp_mont_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
213 int ec_GFp_mont_field_encode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
215 int ec_GFp_mont_field_decode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
218 int ec_point_set_Jprojective_coordinates_GFp(const EC_GROUP *group,
233 EC_GROUP *group;