Searched refs:RabinMillerTest (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dnbtheory.h38 CRYPTOPP_DLL bool CRYPTOPP_API RabinMillerTest(RandomNumberGenerator &rng, const Integer &w, unsigned int rounds);
H A Dnbtheory.cpp138 bool RabinMillerTest(RandomNumberGenerator &rng, const Integer &n, unsigned int rounds) function
249 bool pass = IsPrime(p) && RabinMillerTest(rng, p, 1);
251 pass = pass && RabinMillerTest(rng, p, 10);

Completed in 86 milliseconds