Lines Matching defs:?0
101 static int RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *i, RSA *rsa, BN_CTX *ctx);
903 RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
999 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rsa->p, ctx, rsa->_method_mod_p)) {
1003 if (!BN_sub(r0, r0, m1)) {
1007 /* This will help stop the size of r0 increasing, which does
1009 if (BN_is_negative(r0)) {
1010 if (!BN_add(r0, r0, rsa->p)) {
1015 if (!BN_mul(r1, r0, rsa->iqmp, ctx)) {
1026 if (!BN_mod(r0, pr1, rsa->p, ctx)) {
1031 * adding 'p' if r0 is negative above to leave the result still
1037 if (BN_is_negative(r0)) {
1038 if (!BN_add(r0, r0, rsa->p)) {
1042 if (!BN_mul(r1, r0, rsa->q, ctx)) {
1045 if (!BN_add(r0, r1, m1)) {
1050 if (!rsa->meth->bn_mod_exp(vrfy, r0, rsa->e, rsa->n, ctx,
1084 if (!rsa->meth->bn_mod_exp(r0, I, d, rsa->n, ctx,
1125 BIGNUM *r0 = NULL, *r1 = NULL, *r2 = NULL, *r3 = NULL, *tmp;
1136 r0 = BN_CTX_get(ctx);
1233 if (!BN_mul(r0, r1, r2, ctx)) {
1238 BN_with_flags(pr0, r0, BN_FLG_CONSTTIME);
1240 pr0 = r0;