Lines Matching refs:BIGNUM
94 /* BIGNUM stuff */
95 static int atalla_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
96 const BIGNUM *m, BN_CTX *ctx);
100 static int atalla_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa,
103 static int atalla_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
104 const BIGNUM *m, BN_CTX *ctx,
110 static int atalla_dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1,
111 BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m,
113 static int atalla_mod_exp_dsa(DSA *dsa, BIGNUM *r, BIGNUM *a,
114 const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx,
121 static int atalla_mod_exp_dh(const DH *dh, BIGNUM *r,
122 const BIGNUM *a, const BIGNUM *p,
123 const BIGNUM *m, BN_CTX *ctx,
458 static int atalla_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
459 const BIGNUM *m, BN_CTX *ctx)
467 BIGNUM *modulus;
468 BIGNUM *exponent;
469 BIGNUM *argument;
470 BIGNUM *result;
527 static int atalla_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa,
557 static int atalla_dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1,
558 BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m,
561 BIGNUM t;
580 static int atalla_mod_exp_dsa(DSA *dsa, BIGNUM *r, BIGNUM *a,
581 const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx,
590 static int atalla_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
591 const BIGNUM *m, BN_CTX *ctx,
600 static int atalla_mod_exp_dh(const DH *dh, BIGNUM *r,
601 const BIGNUM *a, const BIGNUM *p,
602 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx)