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 *);
215 BIGNUM *order, *cofactor;
233 BIGNUM *field;
249 BIGNUM *a, *b;
257 int (*field_mod_func) (BIGNUM *, const BIGNUM *, const BIGNUM *,
296 BIGNUM *priv_key;
319 BIGNUM *X;
320 BIGNUM *Y;
321 BIGNUM *Z; /* Jacobian projective coordinates: * (X, Y,
356 int ossl_ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
358 const BIGNUM *scalars[], BN_CTX *);
367 int ossl_ec_GFp_simple_group_set_curve(EC_GROUP *, const BIGNUM *p,
368 const BIGNUM *a, const BIGNUM *b,
370 int ossl_ec_GFp_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a,
371 BIGNUM *b, BN_CTX *);
381 const BIGNUM *x,
382 const BIGNUM *y,
383 const BIGNUM *z,
387 BIGNUM *x,
388 BIGNUM *y, BIGNUM *z,
391 const BIGNUM *x,
392 const BIGNUM *y, BN_CTX *);
394 const EC_POINT *, BIGNUM *x,
395 BIGNUM *y, BN_CTX *);
397 const BIGNUM *x, int y_bit,
416 int ossl_ec_GFp_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
417 const BIGNUM *b, BN_CTX *);
418 int ossl_ec_GFp_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
420 int ossl_ec_GFp_simple_field_inv(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
436 int ossl_ec_GFp_mont_group_set_curve(EC_GROUP *, const BIGNUM *p,
437 const BIGNUM *a,
438 const BIGNUM *b, BN_CTX *);
442 int ossl_ec_GFp_mont_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
443 const BIGNUM *b, BN_CTX *);
444 int ossl_ec_GFp_mont_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
446 int ossl_ec_GFp_mont_field_inv(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
448 int ossl_ec_GFp_mont_field_encode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
450 int ossl_ec_GFp_mont_field_decode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
452 int ossl_ec_GFp_mont_field_set_to_one(const EC_GROUP *, BIGNUM *r, BN_CTX *);
456 int ossl_ec_GFp_nist_group_set_curve(EC_GROUP *, const BIGNUM *p,
457 const BIGNUM *a, const BIGNUM *b, BN_CTX *);
458 int ossl_ec_GFp_nist_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
459 const BIGNUM *b, BN_CTX *);
460 int ossl_ec_GFp_nist_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
468 int ossl_ec_GF2m_simple_group_set_curve(EC_GROUP *, const BIGNUM *p,
469 const BIGNUM *a, const BIGNUM *b,
471 int ossl_ec_GF2m_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a,
472 BIGNUM *b, BN_CTX *);
482 const BIGNUM *x,
483 const BIGNUM *y, BN_CTX *);
485 const EC_POINT *, BIGNUM *x,
486 BIGNUM *y, BN_CTX *);
488 const BIGNUM *x, int y_bit,
507 int ossl_ec_GF2m_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
508 const BIGNUM *b, BN_CTX *);
509 int ossl_ec_GF2m_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
511 int ossl_ec_GF2m_simple_field_div(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
512 const BIGNUM *b, BN_CTX *);
521 int ossl_ec_GFp_nistp224_group_set_curve(EC_GROUP *group, const BIGNUM *p,
522 const BIGNUM *a, const BIGNUM *n,
526 BIGNUM *x, BIGNUM *y,
529 const BIGNUM *scalar, size_t num,
530 const EC_POINT *points[], const BIGNUM *scalars[],
533 const BIGNUM *scalar, size_t num,
535 const BIGNUM *scalars[], BN_CTX *ctx);
541 int ossl_ec_GFp_nistp256_group_set_curve(EC_GROUP *group, const BIGNUM *p,
542 const BIGNUM *a, const BIGNUM *n,
546 BIGNUM *x, BIGNUM *y,
549 const BIGNUM *scalar, size_t num,
550 const EC_POINT *points[], const BIGNUM *scalars[],
553 const BIGNUM *scalar, size_t num,
555 const BIGNUM *scalars[], BN_CTX *ctx);
561 int ossl_ec_GFp_nistp384_group_set_curve(EC_GROUP *group, const BIGNUM *p,
562 const BIGNUM *a, const BIGNUM *n,
566 BIGNUM *x, BIGNUM *y,
569 const BIGNUM *scalar, size_t num,
570 const EC_POINT *points[], const BIGNUM *scalars[],
573 const BIGNUM *scalar, size_t num,
575 const BIGNUM *scalars[], BN_CTX *ctx);
582 int ossl_ec_GFp_nistp521_group_set_curve(EC_GROUP *group, const BIGNUM *p,
583 const BIGNUM *a, const BIGNUM *n,
587 BIGNUM *x, BIGNUM *y,
590 const BIGNUM *scalar, size_t num,
591 const EC_POINT *points[], const BIGNUM *scalars[],
594 const BIGNUM *scalar, size_t num,
596 const BIGNUM *scalars[], BN_CTX *ctx);
673 int (*set_private)(EC_KEY *key, const BIGNUM *priv_key);
679 *sig, unsigned int *siglen, const BIGNUM *kinv,
680 const BIGNUM *r, EC_KEY *eckey);
681 int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
682 BIGNUM **rp);
684 const BIGNUM *in_kinv, const BIGNUM *in_r,
705 BIGNUM *r;
706 BIGNUM *s;
709 int ossl_ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
710 BIGNUM **rp);
713 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey);
715 const BIGNUM *in_kinv, const BIGNUM *in_r,
721 int ossl_ecdsa_simple_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
722 BIGNUM **rp);
724 const BIGNUM *in_kinv, const BIGNUM *in_r,
760 const BIGNUM *scalar, const EC_POINT *point,