Lines Matching refs:primes
123 static const uint16_t primes[NUMPRIMES] = { variable
503 BN_ULONG mod = BN_mod_word(a, primes[i]); in BN_is_prime_fasttest_ex()
508 return BN_is_word(a, primes[i]); in BN_is_prime_fasttest_ex()
683 BN_ULONG maxdelta = BN_MASK2 - primes[NUMPRIMES - 1]; in probable_prime()
693 BN_ULONG mod = BN_mod_word(rnd, (BN_ULONG)primes[i]); in probable_prime()
728 for (i = 1; i < NUMPRIMES && primes[i] < rnd_word; i++) { in probable_prime()
729 if ((mods[i] + delta) % primes[i] == 0) { in probable_prime()
741 if (((mods[i] + delta) % primes[i]) <= 1) { in probable_prime()
797 BN_ULONG mod = BN_mod_word(rnd, (BN_ULONG)primes[i]); in probable_prime_dh()
873 BN_ULONG pmod = BN_mod_word(p, (BN_ULONG)primes[i]); in probable_prime_dh_safe()
874 BN_ULONG qmod = BN_mod_word(q, (BN_ULONG)primes[i]); in probable_prime_dh_safe()