• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/bn/

Lines Matching refs:BN_CTX

306 typedef struct bignum_ctx BN_CTX;
423 BN_CTX *BN_CTX_new(void);
425 void BN_CTX_init(BN_CTX *c);
427 void BN_CTX_free(BN_CTX *c);
428 void BN_CTX_start(BN_CTX *ctx);
429 BIGNUM *BN_CTX_get(BN_CTX *ctx);
430 void BN_CTX_end(BN_CTX *ctx);
450 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
451 int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx);
464 BN_CTX *ctx);
466 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
468 BN_CTX *ctx);
472 BN_CTX *ctx);
476 BN_CTX *ctx);
477 int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
478 int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
481 BN_CTX *ctx);
497 int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
500 const BIGNUM *m, BN_CTX *ctx);
502 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
504 const BIGNUM *m, BN_CTX *ctx,
507 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
510 BN_CTX *ctx, BN_MONT_CTX *m_ctx);
512 const BIGNUM *m, BN_CTX *ctx);
523 int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx);
536 int BN_gcd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
537 int BN_kronecker(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); /* returns
541 const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
543 const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
554 BN_CTX *ctx, void *cb_arg);
556 void (*callback) (int, int, void *), BN_CTX *ctx,
563 int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
564 int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx,
567 int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx);
571 const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx,
575 BN_CTX *ctx, BN_GENCB *cb);
580 BN_MONT_CTX *mont, BN_CTX *ctx);
584 BN_MONT_CTX *mont, BN_CTX *ctx);
586 int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx);
589 const BIGNUM *mod, BN_CTX *ctx);
597 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx);
598 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
599 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
600 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *);
602 BN_CTX *);
611 const BIGNUM *e, BIGNUM *m, BN_CTX *ctx,
616 BN_CTX *ctx,
628 int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *rdiv, BN_CTX *ctx);
630 BN_RECP_CTX *recp, BN_CTX *ctx);
632 const BIGNUM *m, BN_CTX *ctx);
634 BN_RECP_CTX *recp, BN_CTX *ctx);
656 const BIGNUM *p, BN_CTX *ctx);
658 int BN_GF2m_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
660 int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *b, const BIGNUM *p, BN_CTX *ctx);
663 const BIGNUM *p, BN_CTX *ctx);
666 const BIGNUM *p, BN_CTX *ctx);
669 BN_CTX *ctx);
672 BN_CTX *ctx);
684 const int p[], BN_CTX *ctx);
687 BN_CTX *ctx);
690 BN_CTX *ctx);
693 const int p[], BN_CTX *ctx);
696 const int p[], BN_CTX *ctx);
699 const int p[], BN_CTX *ctx);
702 const int p[], BN_CTX *ctx);
711 int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
712 int BN_nist_mod_224(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
713 int BN_nist_mod_256(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
714 int BN_nist_mod_384(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
715 int BN_nist_mod_521(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);