Home
last modified time | relevance | path

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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DTnaf.java14 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 …]
DECFieldElement.java12 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 …]
DSimpleBigDecimal.java155 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()
DECConstants.java5 public interface ECConstants interface
DECPoint.java27 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);
DECAlgorithms.java19 return field.getDimension() > 1 && field.getCharacteristic().equals(ECConstants.TWO) in isF2mField()
DECCurve.java824 ECFieldElement gamma, z, zeroElement = this.fromBigInteger(ECConstants.ZERO); in solveQuadraticEquation()
DLongArray.java540 return ECConstants.ZERO; in toBigInteger()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
DSecP192K1Curve.java5 import org.bouncycastle.math.ec.ECConstants;
26 this.a = fromBigInteger(ECConstants.ZERO); in SecP192K1Curve()
DSecP224K1Curve.java5 import org.bouncycastle.math.ec.ECConstants;
26 this.a = fromBigInteger(ECConstants.ZERO); in SecP224K1Curve()
DSecP256K1Curve.java5 import org.bouncycastle.math.ec.ECConstants;
26 this.a = fromBigInteger(ECConstants.ZERO); in SecP256K1Curve()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DECKeyPairGenerator.java13 import org.bouncycastle.math.ec.ECConstants;
20 implements AsymmetricCipherKeyPairGenerator, ECConstants
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DECDomainParameters.java5 import org.bouncycastle.math.ec.ECConstants;
11 implements ECConstants
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/endo/
DGLVTypeBEndomorphism.java5 import org.bouncycastle.math.ec.ECConstants;
54 b = b.add(ECConstants.ONE); in calculateB()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
DSECNamedCurves.java11 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/
DECDSASigner.java14 import org.bouncycastle.math.ec.ECConstants;
25 implements ECConstants, DSA