Lines Matching defs:r0
512 static int e_rsax_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa,
611 if (!e_rsax_bn_mod_exp(r0, r1, dmp1, rsa->p, ctx,
616 if (!BN_sub(r0, r0, m1))
619 * This will help stop the size of r0 increasing, which does affect the
622 if (BN_is_negative(r0))
623 if (!BN_add(r0, r0, rsa->p))
626 if (!BN_mul(r1, r0, rsa->iqmp, ctx))
635 if (!BN_mod(r0, pr1, rsa->p, ctx))
640 * if r0 is negative above to leave the result still negative. This can
645 if (BN_is_negative(r0))
646 if (!BN_add(r0, r0, rsa->p))
648 if (!BN_mul(r1, r0, rsa->q, ctx))
650 if (!BN_add(r0, r1, m1))
655 (vrfy, r0, rsa->e, rsa->n, ctx, rsa->_method_mod_n,
687 if (!e_rsax_bn_mod_exp(r0, I, d, rsa->n, ctx,