Lines Matching refs:BN_mod
995 if (!BN_mod(&am, a, m, ctx) ||
1217 (BN_mod(t, r, m, ctx) && (swap_tmp = r, r = t, t = swap_tmp, 1))))
1219 * probably more overhead than always using BN_mod (which uses BN_copy if a
1220 * similar test returns true). We can use BN_mod and do not need BN_nnmod
1221 * because our accumulator is never negative (the result of BN_mod does not
1407 if (!BN_mod(val1[0], a1, m, ctx)) {
1442 if (!BN_mod(val2[0], a2, m, ctx)) {