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.java265 BigInteger legendreExponent = q.shiftRight(1); in sqrt() local
266 if (!(x.modPow(legendreExponent, q).equals(ECConstants.ONE))) in sqrt()
274 … BigInteger k = legendreExponent.add(ECConstants.ONE), qMinusOne = q.subtract(ECConstants.ONE); in sqrt()
286 … || !modReduce(P.multiply(P).subtract(fourX)).modPow(legendreExponent, q).equals(qMinusOne)); in sqrt()