Home | History | Annotate | Download | only in ec

Lines Matching full:bignum

91   int (*group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
92 const BIGNUM *b, BN_CTX *);
96 BIGNUM *x, BIGNUM *y, BN_CTX *);
103 int (*mul)(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
104 const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx);
120 int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
121 const BIGNUM *b, BN_CTX *);
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 *);
137 BIGNUM order, cofactor;
146 BIGNUM field; /* For curves over GF(p), this is the modulus. */
148 BIGNUM a, b; /* Curve coefficients. */
153 BIGNUM *one; /* The value one */
162 BIGNUM X;
163 BIGNUM Y;
164 BIGNUM Z; /* Jacobian projective coordinates:
177 int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
178 const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx);
185 int ec_GFp_simple_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
186 const BIGNUM *b, BN_CTX *);
187 int ec_GFp_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a,
188 BIGNUM *b, BN_CTX *);
197 const BIGNUM *x,
198 const BIGNUM *y,
199 const BIGNUM *z, BN_CTX *);
201 const EC_POINT *, BIGNUM *x,
202 BIGNUM *y, BIGNUM *z,
205 const BIGNUM *x, const BIGNUM *y,
208 const EC_POINT *, BIGNUM *x,
209 BIGNUM *y, BN_CTX *);
211 const BIGNUM *x, int y_bit,
225 int ec_GFp_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
226 const BIGNUM *b, BN_CTX *);
227 int ec_GFp_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
232 int ec_GFp_mont_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
233 const BIGNUM *b, BN_CTX *);
237 int ec_GFp_mont_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
238 const BIGNUM *b, BN_CTX *);
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 *);
248 EC_POINT *point, const BIGNUM *x,
249 const BIGNUM *y, const BIGNUM *z,
276 BIGNUM *priv_key;