Home | History | Annotate | Download | only in ec

Lines Matching full:bignum

86   int (*group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
87 const BIGNUM *b, BN_CTX *);
89 BIGNUM *x, BIGNUM *y, BN_CTX *);
96 int (*mul)(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
97 const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx);
102 int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
103 const BIGNUM *b, BN_CTX *);
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,
118 BIGNUM order;
127 BIGNUM field; /* For curves over GF(p), this is the modulus. */
129 BIGNUM a, b; /* Curve coefficients. */
135 BIGNUM one; /* The value one. */
141 BIGNUM X;
142 BIGNUM Y;
143 BIGNUM Z; /* Jacobian projective coordinates:
155 int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
156 const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx);
162 int ec_GFp_simple_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
163 const BIGNUM *b, BN_CTX *);
164 int ec_GFp_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a,
165 BIGNUM *b, BN_CTX *);
173 const BIGNUM *x,
174 const BIGNUM *y,
175 const BIGNUM *z, BN_CTX *);
177 const EC_POINT *, BIGNUM *x,
178 BIGNUM *y, BIGNUM *z,
181 const BIGNUM *x, const BIGNUM *y,
184 const BIGNUM *x, int y_bit,
198 int ec_GFp_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
199 const BIGNUM *b, BN_CTX *);
200 int ec_GFp_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
205 int ec_GFp_mont_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
206 const BIGNUM *b, BN_CTX *);
209 int ec_GFp_mont_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
210 const BIGNUM *b, BN_CTX *);
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,
219 EC_POINT *point, const BIGNUM *x,
220 const BIGNUM *y, const BIGNUM *z,
236 BIGNUM *priv_key;