Home
last modified time | relevance | path

Searched refs:legendreExponent (Results 1 – 1 of 1) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECFieldElement.java275 BigInteger legendreExponent = q.shiftRight(1); in sqrt() local
276 if (!(x.modPow(legendreExponent, q).equals(ECConstants.ONE))) in sqrt()
284 … BigInteger k = legendreExponent.add(ECConstants.ONE), qMinusOne = q.subtract(ECConstants.ONE); in sqrt()
296 … || !modReduce(P.multiply(P).subtract(fourX)).modPow(legendreExponent, q).equals(qMinusOne)); in sqrt()