Lines Matching refs:delta
491 BN_ULONG delta; in probable_prime() local
508 delta = 0; in probable_prime()
518 if (bits <= 31 && delta <= 0x7fffffff in probable_prime()
519 && square(primes[i]) > BN_get_word(rnd) + delta) in probable_prime()
521 if (safe ? (mods[i] + delta) % primes[i] <= 1 in probable_prime()
522 : (mods[i] + delta) % primes[i] == 0) { in probable_prime()
523 delta += safe ? 4 : 2; in probable_prime()
524 if (delta > maxdelta) in probable_prime()
529 if (!BN_add_word(rnd, delta)) in probable_prime()
551 BN_ULONG delta; in probable_prime_dh() local
593 delta = 0; in probable_prime_dh()
597 if (bits <= 31 && delta <= 0x7fffffff in probable_prime_dh()
598 && square(primes[i]) > BN_get_word(rnd) + delta) in probable_prime_dh()
601 if (safe ? (mods[i] + delta) % primes[i] <= 1 in probable_prime_dh()
602 : (mods[i] + delta) % primes[i] == 0) { in probable_prime_dh()
603 delta += BN_get_word(add); in probable_prime_dh()
604 if (delta > maxdelta) in probable_prime_dh()
609 if (!BN_add_word(rnd, delta)) in probable_prime_dh()