Searched refs:isProbablePrime (Results 1 – 12 of 12) sorted by relevance
160 if (!isProbablePrime(q)) in generateParameters_FIPS186_2()196 if (isProbablePrime(p)) in generateParameters_FIPS186_2()264 if (!isProbablePrime(q)) in generateParameters_FIPS186_3()312 if (isProbablePrime(p)) in generateParameters_FIPS186_3()339 private boolean isProbablePrime(BigInteger x) in isProbablePrime() method in DSAParametersGenerator346 return x.isProbablePrime(certainty); in isProbablePrime()
44 if (!p.isProbablePrime(certainty)) in generateSafePrimes()49 if (certainty > 2 && !q.isProbablePrime(certainty - 2)) in generateSafePrimes()
175 if (!isProbablePrime(p)) in chooseRandomPrime()191 protected boolean isProbablePrime(BigInteger x) in isProbablePrime() method in RSAKeyPairGenerator
162 if (!isProbablePrime(q)) in generateParameters_FIPS186_2()198 if (isProbablePrime(p)) in generateParameters_FIPS186_2()266 if (!isProbablePrime(q)) in generateParameters_FIPS186_3()314 if (isProbablePrime(p)) in generateParameters_FIPS186_3()341 private boolean isProbablePrime(BigInteger x) in isProbablePrime() method in DSAParametersGenerator348 return x.isProbablePrime(certainty); in isProbablePrime()
45 if (!p.isProbablePrime(certainty)) in generateSafePrimes()50 if (certainty > 2 && !q.isProbablePrime(certainty - 2)) in generateSafePrimes()
177 if (!isProbablePrime(p)) in chooseRandomPrime()193 protected boolean isProbablePrime(BigInteger x) in isProbablePrime() method in RSAKeyPairGenerator
1409 assertTrue(p.isProbablePrime(certainty)); in checkPrivateCrtKey()1410 assertTrue(q.isProbablePrime(certainty)); in checkPrivateCrtKey()
277 assertTrue(p.isProbablePrime(4)); in testKeyPair()291 boolean isSafePrime = p.shiftRight(1).isProbablePrime(4); in testKeyPair()
451 if (n.isProbablePrime(certainty)) { in testIsProbablePrime()
178 while (!rv.isProbablePrime(certainty)); in createRandomPrime()
180 while (!rv.isProbablePrime(certainty)); in createRandomPrime()
766 while(!this.isProbablePrime(b)) {1333 BigInteger.prototype.isProbablePrime = bnIsProbablePrime; method in BigInteger1602 …btract(BigInteger.ONE).gcd(ee).compareTo(BigInteger.ONE) == 0 && this.p.isProbablePrime(10)) break;1606 …btract(BigInteger.ONE).gcd(ee).compareTo(BigInteger.ONE) == 0 && this.q.isProbablePrime(10)) break;