HomeSort by relevance Sort by last modified time
    Searched refs:toBigInteger (Results 1 - 25 of 30) sorted by null

1 2

  /external/bouncycastle/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/src/main/java/org/bouncycastle/jce/provider/asymmetric/ec/
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/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 128 dp.getG().getX().toBigInteger(),
129 dp.getG().getY().toBigInteger()),
159 dp.getG().getX().toBigInteger(),
160 dp.getG().getY().toBigInteger()),
171 spec.getG().getX().toBigInteger(),
172 spec.getG().getY().toBigInteger()),
214 // gParam.getG().getX().toBigInteger(),
215 // gParam.getG().getY().toBigInteger()),
228 ecP.getG().getX().toBigInteger(),
229 ecP.getG().getY().toBigInteger()),
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/x9/
X9Curve.java 55 curve = new ECCurve.Fp(p, x9A.getValue().toBigInteger(), x9B.getValue().toBigInteger());
92 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/src/main/java/org/bouncycastle/crypto/agreement/
ECDHBasicAgreement.java 45 return P.getX().toBigInteger();
  /external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
ECCurve.java 110 int bit0 = (beta.toBigInteger().testBit(0) ? 1 : 0);
119 new ECFieldElement.Fp(this.q, q.subtract(beta.toBigInteger())), true);
474 ((a.toBigInteger().equals(ECConstants.ZERO)) ||
475 (a.toBigInteger().equals(ECConstants.ONE))) &&
476 (b.toBigInteger().equals(ECConstants.ONE)));
524 if (xp.toBigInteger().equals(ECConstants.ZERO))
542 if (z.toBigInteger().testBit(0))
571 if (beta.toBigInteger().equals(ECConstants.ZERO))
592 if (!w.toBigInteger().equals(ECConstants.ZERO))
598 while (gamma.toBigInteger().equals(ECConstants.ZERO))
    [all...]
ECPoint.java 209 if (this.getY().toBigInteger().testBit(0))
218 byte[] X = converter.integerToBytes(this.getX().toBigInteger(), qLength);
228 byte[] X = converter.integerToBytes(this.getX().toBigInteger(), qLength);
229 byte[] Y = converter.integerToBytes(this.getY().toBigInteger(), qLength);
283 if (this.y.toBigInteger().signum() == 0)
385 byte[] X = converter.integerToBytes(this.getX().toBigInteger(), byteCount);
399 if (!(this.getX().toBigInteger().equals(ECConstants.ZERO)))
402 .toBigInteger().testBit(0))
413 byte[] Y = converter.integerToBytes(this.getY().toBigInteger(), byteCount);
543 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/apache-harmony/math/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/src/main/java/org/bouncycastle/crypto/signers/
ECDSASigner.java 84 BigInteger x = p.getX().toBigInteger();
140 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));
  /external/apache-harmony/math/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 
com.ibm.icu_4.2.1.v20100412.jar 
  /external/jdiff/
xerces.jar 
  /prebuilt/common/groovy/
groovy-all-1.7.0.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 

Completed in 1170 milliseconds

1 2