• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/include/openssl/

Lines Matching refs:BN_CTX

271 typedef struct bignum_ctx BN_CTX;
386 BN_CTX *BN_CTX_new(void);
388 void BN_CTX_init(BN_CTX *c);
390 void BN_CTX_free(BN_CTX *c);
391 void BN_CTX_start(BN_CTX *ctx);
392 BIGNUM *BN_CTX_get(BN_CTX *ctx);
393 void BN_CTX_end(BN_CTX *ctx);
413 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
414 int BN_sqr(BIGNUM *r, const BIGNUM *a,BN_CTX *ctx);
427 BN_CTX *ctx);
429 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
430 int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx);
432 int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx);
435 const BIGNUM *m, BN_CTX *ctx);
436 int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
437 int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
439 int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, BN_CTX *ctx);
455 int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,BN_CTX *ctx);
458 const BIGNUM *m,BN_CTX *ctx);
460 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
462 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont);
464 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
467 BN_CTX *ctx,BN_MONT_CTX *m_ctx);
469 const BIGNUM *m,BN_CTX *ctx);
480 int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx);
492 int BN_gcd(BIGNUM *r,const BIGNUM *a,const BIGNUM *b,BN_CTX *ctx);
493 int BN_kronecker(const BIGNUM *a,const BIGNUM *b,BN_CTX *ctx); /* returns -2 for error */
495 const BIGNUM *a, const BIGNUM *n,BN_CTX *ctx);
497 const BIGNUM *a, const BIGNUM *n,BN_CTX *ctx);
506 BN_CTX *ctx,void *cb_arg);
508 void (*callback)(int,int,void *),BN_CTX *ctx,void *cb_arg,
515 int BN_is_prime_ex(const BIGNUM *p,int nchecks, BN_CTX *ctx, BN_GENCB *cb);
516 int BN_is_prime_fasttest_ex(const BIGNUM *p,int nchecks, BN_CTX *ctx,
522 BN_MONT_CTX *mont, BN_CTX *ctx);
526 BN_MONT_CTX *mont, BN_CTX *ctx);
528 int BN_MONT_CTX_set(BN_MONT_CTX *mont,const BIGNUM *mod,BN_CTX *ctx);
531 const BIGNUM *mod, BN_CTX *ctx);
539 int BN_BLINDING_update(BN_BLINDING *b,BN_CTX *ctx);
540 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
541 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
542 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *);
543 int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *);
549 const BIGNUM *e, BIGNUM *m, BN_CTX *ctx,
551 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx),
562 int BN_RECP_CTX_set(BN_RECP_CTX *recp,const BIGNUM *rdiv,BN_CTX *ctx);
564 BN_RECP_CTX *recp,BN_CTX *ctx);
566 const BIGNUM *m, BN_CTX *ctx);
568 BN_RECP_CTX *recp, BN_CTX *ctx);
583 const BIGNUM *p, BN_CTX *ctx); /* r = (a * b) mod p */
585 BN_CTX *ctx); /* r = (a * a) mod p */
587 BN_CTX *ctx); /* r = (1 / b) mod p */
589 const BIGNUM *p, BN_CTX *ctx); /* r = (a / b) mod p */
591 const BIGNUM *p, BN_CTX *ctx); /* r = (a ^ b) mod p */
593 BN_CTX *ctx); /* r = sqrt(a) mod p */
595 BN_CTX *ctx); /* r^2 + r = a mod p */
605 const unsigned int p[], BN_CTX *ctx); /* r = (a * b) mod p */
607 BN_CTX *ctx); /* r = (a * a) mod p */
609 BN_CTX *ctx); /* r = (1 / b) mod p */
611 const unsigned int p[], BN_CTX *ctx); /* r = (a / b) mod p */
613 const unsigned int p[], BN_CTX *ctx); /* r = (a ^ b) mod p */
615 const unsigned int p[], BN_CTX *ctx); /* r = sqrt(a) mod p */
617 const unsigned int p[], BN_CTX *ctx); /* r^2 + r = a mod p */
623 int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
624 int BN_nist_mod_224(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
625 int BN_nist_mod_256(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
626 int BN_nist_mod_384(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
627 int BN_nist_mod_521(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);