Lines Matching refs:r

446 int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
447 int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
448 int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
449 int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
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);
466 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
467 int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
469 int BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
471 int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
473 int BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
475 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
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);
479 int BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m);
480 int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m,
482 int BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m);
495 int BN_lshift(BIGNUM *r, const BIGNUM *a, int n);
496 int BN_lshift1(BIGNUM *r, const BIGNUM *a);
497 int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
499 int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
501 int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
506 int BN_mod_exp_mont_word(BIGNUM *r, BN_ULONG a, const BIGNUM *p,
508 int BN_mod_exp2_mont(BIGNUM *r, const BIGNUM *a1, const BIGNUM *p1,
511 int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
523 int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx);
524 int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
525 int BN_rshift1(BIGNUM *r, const BIGNUM *a);
536 int BN_gcd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
579 int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
581 # define BN_to_montgomery(r,a,mont,ctx) BN_mod_mul_montgomery(\ argument
582 (r),(a),&((mont)->RR),(mont),(ctx))
583 int BN_from_montgomery(BIGNUM *r, const BIGNUM *a,
600 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *);
601 int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b,
612 int (*bn_mod_exp) (BIGNUM *r,
629 int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y,
631 int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
648 int BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
649 # define BN_GF2m_sub(r, a, b) BN_GF2m_add(r, a, b) argument
653 int BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p);
655 int BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
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);
662 int BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
665 int BN_GF2m_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
668 int BN_GF2m_mod_sqrt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
671 int BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
681 int BN_GF2m_mod_arr(BIGNUM *r, const BIGNUM *a, const int p[]);
683 int BN_GF2m_mod_mul_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
686 int BN_GF2m_mod_sqr_arr(BIGNUM *r, const BIGNUM *a, const int p[],
689 int BN_GF2m_mod_inv_arr(BIGNUM *r, const BIGNUM *b, const int p[],
692 int BN_GF2m_mod_div_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
695 int BN_GF2m_mod_exp_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
698 int BN_GF2m_mod_sqrt_arr(BIGNUM *r, const BIGNUM *a,
701 int BN_GF2m_mod_solve_quad_arr(BIGNUM *r, const BIGNUM *a,
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);