/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
H A D | 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()
|
H A D | 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 ECPoin [all...] |
H A D | ECPoint.java | 330 * Elliptic curve points over F2m 332 public static class F2m extends ECPoint class in class:ECPoint 339 public F2m(ECCurve curve, ECFieldElement x, ECFieldElement y) method in class:ECPoint.F2m 350 public F2m(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) method in class:ECPoint.F2m 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</cod [all...] |
H A D | ECAlgorithms.java | 17 if (c instanceof ECCurve.F2m) 19 ECCurve.F2m f2mCurve = (ECCurve.F2m)c;
|
H A D | ECCurve.java | 175 * Elliptic curves over F2m. The Weierstrass equation is given by 178 public static class F2m extends ECCurve class in class:ECCurve 224 private ECPoint.F2m infinity; // can't be final - JDK 1.1 253 public F2m( method in class:ECCurve.F2m 279 public F2m( method in class:ECCurve.F2m 310 public F2m( method in class:ECCurve.F2m 344 public F2m( method in class:ECCurve.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(thi [all...] |
H A D | 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 bF2 774 public static class F2m extends ECFieldElement class in class:ECFieldElement 855 public F2m( method in class:ECFieldElement.F2m 905 public F2m(int m, int k, BigInteger x) method in class:ECFieldElement.F2m 911 private F2m(int m, int k1, int k2, int k3, IntArray x) method in class:ECFieldElement.F2m [all...] |
H A D | 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 t [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
H A D | 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...] |
H A D | X9ECParameters.java | 107 if (curve instanceof ECCurve.F2m) 109 ECCurve.F2m curveF2m = (ECCurve.F2m)curve;
|
H A D | X9FieldElement.java | 33 this(new ECFieldElement.F2m(m, k1, k2, k3, new BigInteger(1, s.getOctets())));
|
H A D | 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/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
H A D | EC5Util.java | 29 ECCurve.F2m curveF2m = (ECCurve.F2m)curve; 63 return new ECCurve.F2m(m, ks[0], ks[1], ks[2], a, b);
|
H A D | BCECPublicKey.java | 365 return new org.bouncycastle.math.ec.ECPoint.F2m(null, q.getX(), q.getY());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/ |
H A D | 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( [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/ |
H A D | ECNamedCurveSpec.java | 30 ECCurve.F2m curveF2m = (ECCurve.F2m)curve;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
H A D | JCEECPublicKey.java | 462 return new org.bouncycastle.math.ec.ECPoint.F2m(null, q.getX(), q.getY());
|