Searched refs:ECConstants (Results 1 – 16 of 16) sorted by relevance
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | Tnaf.java | 14 private static final BigInteger MINUS_ONE = ECConstants.ONE.negate(); 15 private static final BigInteger MINUS_TWO = ECConstants.TWO.negate(); 16 private static final BigInteger MINUS_THREE = ECConstants.THREE.negate(); 41 new ZTauElement(ECConstants.ONE, ECConstants.ZERO), null, 44 new ZTauElement(ECConstants.ONE, MINUS_ONE), null 60 new ZTauElement(ECConstants.ONE, ECConstants.ZERO), null, 61 new ZTauElement(MINUS_THREE, ECConstants.ONE), null, 62 new ZTauElement(MINUS_ONE, ECConstants.ONE), null, 63 new ZTauElement(ECConstants.ONE, ECConstants.ONE), null 221 if (eta.compareTo(ECConstants.ONE) >= 0) in round() [all …]
|
D | ECFieldElement.java | 12 implements ECConstants 157 BigInteger x2 = x.add(ECConstants.ONE); in addOne() 160 x2 = ECConstants.ZERO; in addOne() 250 BigInteger e = q.shiftRight(2).add(ECConstants.ONE); in sqrt() 260 if (t3.equals(ECConstants.ONE)) in sqrt() 266 BigInteger t4 = ECConstants.TWO.modPow(q.shiftRight(2), q); in sqrt() 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() 307 while (U.equals(ECConstants.ONE) || U.equals(qMinusOne)); in sqrt() 329 BigInteger Uh = ECConstants.ONE; in lucasSequence() [all …]
|
D | SimpleBigDecimal.java | 155 SimpleBigDecimal oneHalf = new SimpleBigDecimal(ECConstants.ONE, 1); in round() 196 fract = ECConstants.ONE.shiftLeft(scale).subtract(fract); in toString() 199 if ((floorBigInt.signum() == -1) && (!(fract.equals(ECConstants.ZERO)))) in toString() 201 floorBigInt = floorBigInt.add(ECConstants.ONE); in toString()
|
D | ECConstants.java | 5 public interface ECConstants interface
|
D | ECPoint.java | 27 ECFieldElement one = curve.fromBigInteger(ECConstants.ONE); in getInitialZCoords() 70 …return h == null || h.equals(ECConstants.ONE) || !ECAlgorithms.referenceMultiply(this, h).isInfini… in satisfiesCofactor() 1172 … ECFieldElement Z1 = this.zs.length < 1 ? curve.fromBigInteger(ECConstants.ONE) : this.zs[0]; in timesPow2() 1841 Z3 = curve.fromBigInteger(ECConstants.ONE);
|
D | ECAlgorithms.java | 19 return field.getDimension() > 1 && field.getCharacteristic().equals(ECConstants.TWO) in isF2mField()
|
D | ECCurve.java | 824 ECFieldElement gamma, z, zeroElement = this.fromBigInteger(ECConstants.ZERO); in solveQuadraticEquation()
|
D | LongArray.java | 540 return ECConstants.ZERO; in toBigInteger()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/ |
D | SecP192K1Curve.java | 5 import org.bouncycastle.math.ec.ECConstants; 26 this.a = fromBigInteger(ECConstants.ZERO); in SecP192K1Curve()
|
D | SecP224K1Curve.java | 5 import org.bouncycastle.math.ec.ECConstants; 26 this.a = fromBigInteger(ECConstants.ZERO); in SecP224K1Curve()
|
D | SecP256K1Curve.java | 5 import org.bouncycastle.math.ec.ECConstants; 26 this.a = fromBigInteger(ECConstants.ZERO); in SecP256K1Curve()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
D | ECKeyPairGenerator.java | 13 import org.bouncycastle.math.ec.ECConstants; 20 implements AsymmetricCipherKeyPairGenerator, ECConstants
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
D | ECDomainParameters.java | 5 import org.bouncycastle.math.ec.ECConstants; 11 implements ECConstants
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/endo/ |
D | GLVTypeBEndomorphism.java | 5 import org.bouncycastle.math.ec.ECConstants; 54 b = b.add(ECConstants.ONE); in calculateB()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/ |
D | SECNamedCurves.java | 11 import org.bouncycastle.math.ec.ECConstants; 149 BigInteger a = ECConstants.ZERO; 240 BigInteger a = ECConstants.ZERO; 305 BigInteger a = ECConstants.ZERO; 370 BigInteger a = ECConstants.ZERO; 742 BigInteger a = ECConstants.ZERO; 796 BigInteger a = ECConstants.ZERO; 825 BigInteger a = ECConstants.ZERO; 881 BigInteger a = ECConstants.ZERO; 937 BigInteger a = ECConstants.ZERO;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/ |
D | ECDSASigner.java | 14 import org.bouncycastle.math.ec.ECConstants; 25 implements ECConstants, DSA
|