Lines Matching refs:BIGNUM

57     int (*group_set_curve) (EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
58 const BIGNUM *b, BN_CTX *);
59 int (*group_get_curve) (const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b,
84 const BIGNUM *x, const BIGNUM *y,
87 BIGNUM *x, BIGNUM *y, BN_CTX *);
89 const BIGNUM *x, int y_bit,
135 int (*mul) (const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
136 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
147 int (*field_mul) (const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
148 const BIGNUM *b, BN_CTX *);
149 int (*field_sqr) (const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
150 int (*field_div) (const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
151 const BIGNUM *b, BN_CTX *);
158 int (*field_inv) (const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
160 int (*field_encode) (const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
163 int (*field_decode) (const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
165 int (*field_set_to_one) (const EC_GROUP *, BIGNUM *r, BN_CTX *);
169 int (*set_private)(EC_KEY *eckey, const BIGNUM *priv_key);
179 int (*ecdsa_sign_setup)(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinvp,
180 BIGNUM **rp);
182 const BIGNUM *kinv, const BIGNUM *r,
187 int (*field_inverse_mod_ord)(const EC_GROUP *, BIGNUM *r,
188 const BIGNUM *x, BN_CTX *);
213 BIGNUM *order, *cofactor;
231 BIGNUM *field;
247 BIGNUM *a, *b;
255 int (*field_mod_func) (BIGNUM *, const BIGNUM *, const BIGNUM *,
293 BIGNUM *priv_key;
317 BIGNUM *X;
318 BIGNUM *Y;
319 BIGNUM *Z; /* Jacobian projective coordinates: * (X, Y,
352 int ossl_ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
354 const BIGNUM *scalars[], BN_CTX *);
363 int ossl_ec_GFp_simple_group_set_curve(EC_GROUP *, const BIGNUM *p,
364 const BIGNUM *a, const BIGNUM *b,
366 int ossl_ec_GFp_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a,
367 BIGNUM *b, BN_CTX *);
377 const BIGNUM *x,
378 const BIGNUM *y,
379 const BIGNUM *z,
383 BIGNUM *x,
384 BIGNUM *y, BIGNUM *z,
387 const BIGNUM *x,
388 const BIGNUM *y, BN_CTX *);
390 const EC_POINT *, BIGNUM *x,
391 BIGNUM *y, BN_CTX *);
393 const BIGNUM *x, int y_bit,
412 int ossl_ec_GFp_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
413 const BIGNUM *b, BN_CTX *);
414 int ossl_ec_GFp_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
416 int ossl_ec_GFp_simple_field_inv(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
432 int ossl_ec_GFp_mont_group_set_curve(EC_GROUP *, const BIGNUM *p,
433 const BIGNUM *a,
434 const BIGNUM *b, BN_CTX *);
438 int ossl_ec_GFp_mont_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
439 const BIGNUM *b, BN_CTX *);
440 int ossl_ec_GFp_mont_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
442 int ossl_ec_GFp_mont_field_inv(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
444 int ossl_ec_GFp_mont_field_encode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
446 int ossl_ec_GFp_mont_field_decode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
448 int ossl_ec_GFp_mont_field_set_to_one(const EC_GROUP *, BIGNUM *r, BN_CTX *);
452 int ossl_ec_GFp_nist_group_set_curve(EC_GROUP *, const BIGNUM *p,
453 const BIGNUM *a, const BIGNUM *b, BN_CTX *);
454 int ossl_ec_GFp_nist_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
455 const BIGNUM *b, BN_CTX *);
456 int ossl_ec_GFp_nist_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
464 int ossl_ec_GF2m_simple_group_set_curve(EC_GROUP *, const BIGNUM *p,
465 const BIGNUM *a, const BIGNUM *b,
467 int ossl_ec_GF2m_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a,
468 BIGNUM *b, BN_CTX *);
478 const BIGNUM *x,
479 const BIGNUM *y, BN_CTX *);
481 const EC_POINT *, BIGNUM *x,
482 BIGNUM *y, BN_CTX *);
484 const BIGNUM *x, int y_bit,
503 int ossl_ec_GF2m_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
504 const BIGNUM *b, BN_CTX *);
505 int ossl_ec_GF2m_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
507 int ossl_ec_GF2m_simple_field_div(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
508 const BIGNUM *b, BN_CTX *);
517 int ossl_ec_GFp_nistp224_group_set_curve(EC_GROUP *group, const BIGNUM *p,
518 const BIGNUM *a, const BIGNUM *n,
522 BIGNUM *x, BIGNUM *y,
525 const BIGNUM *scalar, size_t num,
526 const EC_POINT *points[], const BIGNUM *scalars[],
529 const BIGNUM *scalar, size_t num,
531 const BIGNUM *scalars[], BN_CTX *ctx);
537 int ossl_ec_GFp_nistp256_group_set_curve(EC_GROUP *group, const BIGNUM *p,
538 const BIGNUM *a, const BIGNUM *n,
542 BIGNUM *x, BIGNUM *y,
545 const BIGNUM *scalar, size_t num,
546 const EC_POINT *points[], const BIGNUM *scalars[],
549 const BIGNUM *scalar, size_t num,
551 const BIGNUM *scalars[], BN_CTX *ctx);
557 int ossl_ec_GFp_nistp521_group_set_curve(EC_GROUP *group, const BIGNUM *p,
558 const BIGNUM *a, const BIGNUM *n,
562 BIGNUM *x, BIGNUM *y,
565 const BIGNUM *scalar, size_t num,
566 const EC_POINT *points[], const BIGNUM *scalars[],
569 const BIGNUM *scalar, size_t num,
571 const BIGNUM *scalars[], BN_CTX *ctx);
643 int (*set_private)(EC_KEY *key, const BIGNUM *priv_key);
649 *sig, unsigned int *siglen, const BIGNUM *kinv,
650 const BIGNUM *r, EC_KEY *eckey);
651 int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
652 BIGNUM **rp);
654 const BIGNUM *in_kinv, const BIGNUM *in_r,
675 BIGNUM *r;
676 BIGNUM *s;
679 int ossl_ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
680 BIGNUM **rp);
683 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey);
685 const BIGNUM *in_kinv, const BIGNUM *in_r,
691 int ossl_ecdsa_simple_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
692 BIGNUM **rp);
694 const BIGNUM *in_kinv, const BIGNUM *in_r,
730 const BIGNUM *scalar, const EC_POINT *point,