Searched refs:IsPrime (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Ddsa.cpp87 if (!IsPrime(q))
107 if (p.GetBit(L-1) && IsPrime(p))
H A Dnbtheory.h41 CRYPTOPP_DLL bool CRYPTOPP_API IsPrime(const Integer &p);
43 // more reliable than IsPrime(), used to verify primes generated by others
H A Dnbtheory.cpp237 bool IsPrime(const Integer &p) function
249 bool pass = IsPrime(p) && RabinMillerTest(rng, p, 1);
387 if (p <= gcd && gcd <= max && IsPrime(gcd) && (!pSelector || pSelector->IsAcceptable(gcd)))
435 if ((!pSelector || pSelector->IsAcceptable(p)) && FastProbablePrimeTest(p) && IsPrime(p))
1058 if (FastProbablePrimeTest(q) && FastProbablePrimeTest(p) && IsPrime(q) && IsPrime(p))

Completed in 110 milliseconds