/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/ |
WTauNafPreCompInfo.java | 10 * Array holding the precomputed <code>ECPoint.F2m</code>s used for the 15 private ECPoint.F2m[] preComp = null; 19 * @param preComp Array holding the precomputed <code>ECPoint.F2m</code>s 24 WTauNafPreCompInfo(ECPoint.F2m[] preComp) 30 * @return the array holding the precomputed <code>ECPoint.F2m</code>s 35 protected ECPoint.F2m[] getPreComp()
|
WTauNafMultiplier.java | 12 * Multiplies a {@link org.bouncycastle.math.ec.ECPoint.F2m ECPoint.F2m} 15 * @param p The ECPoint.F2m to multiply. 21 if (!(point instanceof ECPoint.F2m)) 23 throw new IllegalArgumentException("Only ECPoint.F2m can be " + 27 ECPoint.F2m p = (ECPoint.F2m)point; 29 ECCurve.F2m curve = (ECCurve.F2m) p.getCurve(); 41 * Multiplies a {@link org.bouncycastle.math.ec.ECPoint.F2m ECPoint.F2m [all...] |
ECPoint.java | 330 * Elliptic curve points over F2m 332 public static class F2m extends ECPoint 339 public F2m(ECCurve curve, ECFieldElement x, ECFieldElement y) 350 public F2m(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) 362 ECFieldElement.F2m.checkFieldElements(this.x, this.y); 367 ECFieldElement.F2m.checkFieldElements(this.x, this.curve.getA()); 441 // ECFieldElement.F2m.checkFieldElements(a.x, b.x); 450 return addSimple((ECPoint.F2m)b); 454 * Adds another <code>ECPoints.F2m</code> to <code>this</code> without 458 * @param b The other <code>ECPoints.F2m</code> to add t [all...] |
ECAlgorithms.java | 17 if (c instanceof ECCurve.F2m) 19 ECCurve.F2m f2mCurve = (ECCurve.F2m)c;
|
ECCurve.java | 175 * Elliptic curves over F2m. The Weierstrass equation is given by 178 public static class F2m extends ECCurve 224 private ECPoint.F2m infinity; // can't be final - JDK 1.1 253 public F2m( 279 public F2m( 310 public F2m( 344 public F2m( 388 this.infinity = new ECPoint.F2m(this, null, null); 398 return new ECFieldElement.F2m(this.m, this.k1, this.k2, this.k3, x); 403 return new ECPoint.F2m(this, fromBigInteger(x), fromBigInteger(y), withCompression) [all...] |
ECFieldElement.java | 313 // public static class F2m extends ECFieldElement 386 // public F2m( 435 // public F2m(int m, int k, BigInteger x) 448 // return "F2m"; 471 // if ((!(a instanceof F2m)) || (!(b instanceof F2m))) 474 // + "both instances of ECFieldElement.F2m"); 483 // ECFieldElement.F2m aF2m = (ECFieldElement.F2m)a; 484 // ECFieldElement.F2m bF2m = (ECFieldElement.F2m)b [all...] |
Tnaf.java | 389 * <code>ECPoint.F2m</code>. 390 * @param p The ECPoint.F2m to which <code>τ()</code> is applied. 393 public static ECPoint.F2m tau(ECPoint.F2m p) 403 return new ECPoint.F2m(p.getCurve(), x.square(), y.square(), p.isCompressed()); 416 public static byte getMu(ECCurve.F2m curve) 542 public static BigInteger[] getSi(ECCurve.F2m curve) 642 * Multiplies a {@link org.bouncycastle.math.ec.ECPoint.F2m ECPoint.F2m} 645 * @param p The ECPoint.F2m to multiply [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x9/ |
X962NamedCurves.java | 152 * F2m Curves 161 ECCurve c2m163v1 = new ECCurve.F2m( 184 ECCurve c2m163v2 = new ECCurve.F2m( 207 ECCurve c2m163v3 = new ECCurve.F2m( 230 ECCurve c2m176w1 = new ECCurve.F2m( 253 ECCurve c2m191v1 = new ECCurve.F2m( 276 ECCurve c2m191v2 = new ECCurve.F2m( 299 ECCurve c2m191v3 = new ECCurve.F2m( 322 ECCurve c2m208w1 = new ECCurve.F2m( 345 ECCurve c2m239v1 = new ECCurve.F2m( [all...] |
X9ECParameters.java | 92 if (curve instanceof ECCurve.F2m) 94 ECCurve.F2m curveF2m = (ECCurve.F2m)curve;
|
X9FieldElement.java | 33 this(new ECFieldElement.F2m(m, k1, k2, k3, new BigInteger(1, s.getOctets())));
|
X9Curve.java | 92 curve = new ECCurve.F2m(m, k1, k2, k3, x9A.getValue().toBigInteger(), x9B.getValue().toBigInteger()); 108 else if (curve instanceof ECCurve.F2m)
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/asymmetric/ec/ |
EC5Util.java | 29 ECCurve.F2m curveF2m = (ECCurve.F2m)curve; 63 return new ECCurve.F2m(m, ks[0], ks[1], ks[2], a, b);
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/sec/ |
SECNamedCurves.java | 430 ECCurve curve = new ECCurve.F2m(m, k, a, b, n, h); 457 ECCurve curve = new ECCurve.F2m(m, k, a, b, n, h); 486 ECCurve curve = new ECCurve.F2m(m, k1, k2, k3, a, b, n, h); 515 ECCurve curve = new ECCurve.F2m(m, k1, k2, k3, a, b, n, h); 544 ECCurve curve = new ECCurve.F2m(m, k1, k2, k3, a, b, n, h); 573 ECCurve curve = new ECCurve.F2m(m, k1, k2, k3, a, b, n, h); 602 ECCurve curve = new ECCurve.F2m(m, k1, k2, k3, a, b, n, h); 629 ECCurve curve = new ECCurve.F2m(m, k, a, b, n, h); 656 ECCurve curve = new ECCurve.F2m(m, k, a, b, n, h); 683 ECCurve curve = new ECCurve.F2m(m, k, a, b, n, h) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/spec/ |
ECNamedCurveSpec.java | 30 ECCurve.F2m curveF2m = (ECCurve.F2m)curve;
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JCEECPublicKey.java | 455 return new org.bouncycastle.math.ec.ECPoint.F2m(null, q.getX(), q.getY());
|