/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/ |
ECNamedCurveSpec.java | 26 return new EllipticCurve(new ECFieldFp(((ECCurve.Fp)curve).getQ()), curve.getA().toBigInteger(), curve.getB().toBigInteger(), seed); 37 return new EllipticCurve(new ECFieldF2m(curveF2m.getM(), ks), curve.getA().toBigInteger(), curve.getB().toBigInteger(), seed); 43 return new EllipticCurve(new ECFieldF2m(curveF2m.getM(), ks), curve.getA().toBigInteger(), curve.getB().toBigInteger(), seed); 52 return new ECPoint(g.getX().toBigInteger(), g.getY().toBigInteger());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
EC5Util.java | 25 return new EllipticCurve(new ECFieldFp(((ECCurve.Fp)curve).getQ()), curve.getA().toBigInteger(), curve.getB().toBigInteger(), null); 36 return new EllipticCurve(new ECFieldF2m(curveF2m.getM(), ks), curve.getA().toBigInteger(), curve.getB().toBigInteger(), null); 42 return new EllipticCurve(new ECFieldF2m(curveF2m.getM(), ks), curve.getA().toBigInteger(), curve.getB().toBigInteger(), null); 77 spec.getG().getX().toBigInteger(), 78 spec.getG().getY().toBigInteger()), 87 spec.getG().getX().toBigInteger(), 88 spec.getG().getY().toBigInteger()), [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
BCECPublicKey.java | 93 q = s.getCurve().createPoint(q.getX().toBigInteger(), q.getY().toBigInteger(), false); 191 dp.getG().getX().toBigInteger(), 192 dp.getG().getY().toBigInteger()), 215 ecP.getG().getX().toBigInteger(), 216 ecP.getG().getY().toBigInteger()), 235 ecP.getG().getX().toBigInteger(), 236 ecP.getG().getY().toBigInteger()), 314 new X9ECPoint(curve.createPoint(this.getQ().getX().toBigInteger(), this.getQ().getY().toBigInteger(), withCompression)).toASN1Primitive() [all...] |
BCECPrivateKey.java | 143 dp.getG().getX().toBigInteger(), 144 dp.getG().getY().toBigInteger()), 176 dp.getG().getX().toBigInteger(), 177 dp.getG().getY().toBigInteger()), 188 spec.getG().getX().toBigInteger(), 189 spec.getG().getY().toBigInteger()), 239 // gParam.getG().getX().toBigInteger(), 240 // gParam.getG().getY().toBigInteger()), 253 ecP.getG().getX().toBigInteger(), 254 ecP.getG().getY().toBigInteger()), [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
JCEECPublicKey.java | 101 q = s.getCurve().createPoint(q.getX().toBigInteger(), q.getY().toBigInteger(), false); 170 dp.getG().getX().toBigInteger(), 171 dp.getG().getY().toBigInteger()), 235 // spec.getG().getX().toBigInteger(), 236 // spec.getG().getY().toBigInteger()), 259 ecP.getG().getX().toBigInteger(), 260 ecP.getG().getY().toBigInteger()), 279 ecP.getG().getX().toBigInteger(), 280 ecP.getG().getY().toBigInteger()), [all...] |
JCEECPrivateKey.java | 130 dp.getG().getX().toBigInteger(), 131 dp.getG().getY().toBigInteger()), 161 dp.getG().getX().toBigInteger(), 162 dp.getG().getY().toBigInteger()), 173 spec.getG().getX().toBigInteger(), 174 spec.getG().getY().toBigInteger()), 218 // gParam.getG().getX().toBigInteger(), 219 // gParam.getG().getY().toBigInteger()), 232 ecP.getG().getX().toBigInteger(), 233 ecP.getG().getY().toBigInteger()), [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
ECCurve.java | 150 BigInteger betaValue = beta.toBigInteger(); 436 ((a.toBigInteger().equals(ECConstants.ZERO)) || 437 (a.toBigInteger().equals(ECConstants.ONE))) && 438 (b.toBigInteger().equals(ECConstants.ONE))); 483 if (xp.toBigInteger().equals(ECConstants.ZERO)) 499 int zBit = z.toBigInteger().testBit(0) ? 1 : 0; 524 if (beta.toBigInteger().equals(ECConstants.ZERO)) 545 if (!w.toBigInteger().equals(ECConstants.ZERO)) 551 while (gamma.toBigInteger().equals(ECConstants.ZERO));
|
ECPoint.java | 214 if (this.getY().toBigInteger().testBit(0)) 223 byte[] X = converter.integerToBytes(this.getX().toBigInteger(), qLength); 233 byte[] X = converter.integerToBytes(this.getX().toBigInteger(), qLength); 234 byte[] Y = converter.integerToBytes(this.getY().toBigInteger(), qLength); 288 if (this.y.toBigInteger().signum() == 0) 390 byte[] X = converter.integerToBytes(this.getX().toBigInteger(), byteCount); 404 if (!(this.getX().toBigInteger().equals(ECConstants.ZERO))) 407 .toBigInteger().testBit(0)) 418 byte[] Y = converter.integerToBytes(this.getY().toBigInteger(), byteCount); 548 if (this.x.toBigInteger().signum() == 0) [all...] |
ECFieldElement.java | 10 public abstract BigInteger toBigInteger(); 24 return this.toBigInteger().toString(2); 45 public BigInteger toBigInteger() 72 return new Fp(q, x.add(b.toBigInteger()).mod(q)); 77 return new Fp(q, x.subtract(b.toBigInteger()).mod(q)); 82 return new Fp(q, x.multiply(b.toBigInteger()).mod(q)); 87 return new Fp(q, x.multiply(b.toBigInteger().modInverse(q)).mod(q)); 441 // public BigInteger toBigInteger() 477 // if ((a.toBigInteger().signum() < 0) || (b.toBigInteger().signum() < 0) [all...] |
WTauNafMultiplier.java | 31 byte a = curve.getA().toBigInteger().byteValue(); 85 byte a = curve.getA().toBigInteger().byteValue();
|
Tnaf.java | 418 BigInteger a = curve.getA().toBigInteger(); 550 int a = curve.getA().toBigInteger().intValue(); 653 byte a = (byte) curve.getA().toBigInteger().intValue();
|
IntArray.java | 183 public BigInteger toBigInteger()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
X9Curve.java | 55 curve = new ECCurve.Fp(p, x9A.getValue().toBigInteger(), x9B.getValue().toBigInteger()); 90 curve = new ECCurve.F2m(m, k1, k2, k3, x9A.getValue().toBigInteger(), x9B.getValue().toBigInteger());
|
X9FieldElement.java | 60 byte[] paddedBigInteger = converter.integerToBytes(f.toBigInteger(), byteCount);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/ |
ECDHBasicAgreement.java | 49 return P.getX().toBigInteger();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigDecimalConvertTest.java | 30 * valueOf, toString, toBigInteger 232 BigInteger result = aNumber.toBigInteger(); 243 BigInteger result = aNumber.toBigInteger(); 254 BigInteger result = aNumber.toBigInteger(); 265 BigInteger result = aNumber.toBigInteger(); 276 BigInteger result = aNumber.toBigInteger(); 287 BigInteger result = aNumber.toBigInteger(); 298 BigInteger result = aNumber.toBigInteger();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/ |
ECDSASigner.java | 84 BigInteger x = p.getX().toBigInteger(); 146 BigInteger v = point.getX().toBigInteger().mod(n);
|
/external/guava/guava-tests/test/com/google/common/math/ |
DoubleMathTest.java | 59 BigInteger MAX_DOUBLE_VALUE = BigDecimal.valueOf(Double.MAX_VALUE).toBigInteger(); 237 assertEquals(expected.toBigInteger(), DoubleMath.roundToBigInteger(d, mode)); 246 assertEquals(expected.toBigInteger(), DoubleMath.roundToBigInteger(d, mode)); 254 assertEquals(expected.toBigInteger(), DoubleMath.roundToBigInteger(d, UNNECESSARY));
|
/libcore/harmony-tests/src/test/java/tests/api/java/math/ |
BigDecimalTest.java | 772 * @tests java.math.BigDecimal#toBigInteger() 776 BigInteger result = sub1.toBigInteger(); 781 result = sub1.toBigInteger(); 785 result = sub1.toBigInteger(); 789 result = sub1.toBigInteger(); [all...] |
/libcore/luni/src/main/java/java/math/ |
BigDecimal.java | [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.core.databinding_1.3.100.I20100601-0800.jar | |
/prebuilts/sdk/tools/lib/ |
signapk.jar | |
/prebuilts/devtools/tools/lib/ |
bcprov-jdk15on-1.48.jar | |
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/ |
bcprov-jdk15on-1.48.jar | |
/prebuilts/tools/common/freemarker/ |
freemarker-2.3.19.jar | |