Lines Matching defs:r0
128 static int RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *i, RSA *rsa,
719 static int RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
804 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rsa->p, ctx, rsa->_method_mod_p))
807 if (!BN_sub(r0, r0, m1))
810 * This will help stop the size of r0 increasing, which does affect the
813 if (BN_is_negative(r0))
814 if (!BN_add(r0, r0, rsa->p))
817 if (!BN_mul(r1, r0, rsa->iqmp, ctx))
826 if (!BN_mod(r0, pr1, rsa->p, ctx))
831 * if r0 is negative above to leave the result still negative. This can
836 if (BN_is_negative(r0))
837 if (!BN_add(r0, r0, rsa->p))
839 if (!BN_mul(r1, r0, rsa->q, ctx))
841 if (!BN_add(r0, r1, m1))
845 if (!rsa->meth->bn_mod_exp(vrfy, r0, rsa->e, rsa->n, ctx,
876 if (!rsa->meth->bn_mod_exp(r0, I, d, rsa->n, ctx,