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

1 2

  /external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
WNafPreCompInfo.java 10 * Array holding the precomputed <code>ECPoint</code>s used for the Window
15 private ECPoint[] preComp = null;
18 * Holds an <code>ECPoint</code> representing twice(this). Used for the
23 private ECPoint twiceP = null;
25 protected ECPoint[] getPreComp()
30 protected void setPreComp(ECPoint[] preComp)
35 protected ECPoint getTwiceP()
40 protected void setTwiceP(ECPoint twiceThis)
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()
ECMultiplier.java 7 * for <code>ECPoint</code>s.
12 * Multiplies the <code>ECPoint p</code> by <code>k</code>, i.e.
14 * @param p The <code>ECPoint</code> to be multiplied.
18 ECPoint multiply(ECPoint p, BigInteger k, PreCompInfo preCompInfo);
ECAlgorithms.java 7 public static ECPoint sumOfTwoMultiplies(ECPoint P, BigInteger a,
8 ECPoint Q, BigInteger b)
48 public static ECPoint shamirsTrick(ECPoint P, BigInteger k,
49 ECPoint Q, BigInteger l)
59 private static ECPoint implShamirsTrick(ECPoint P, BigInteger k,
60 ECPoint Q, BigInteger l)
63 ECPoint Z = P.add(Q)
    [all...]
WTauNafMultiplier.java 12 * Multiplies a {@link org.bouncycastle.math.ec.ECPoint.F2m ECPoint.F2m}
15 * @param p The ECPoint.F2m to multiply.
19 public ECPoint multiply(ECPoint point, BigInteger k, PreCompInfo preCompInfo)
21 if (!(point instanceof ECPoint.F2m))
23 throw new IllegalArgumentException("Only ECPoint.F2m can be " +
27 ECPoint.F2m p = (ECPoint.F2m)point;
41 * Multiplies a {@link org.bouncycastle.math.ec.ECPoint.F2m ECPoint.F2m
    [all...]
FpNafMultiplier.java 12 * @see org.bouncycastle.math.ec.ECMultiplier#multiply(org.bouncycastle.math.ec.ECPoint, java.math.BigInteger)
14 public ECPoint multiply(ECPoint p, BigInteger k, PreCompInfo preCompInfo)
21 ECPoint neg = p.negate();
22 ECPoint R = p;
ECPoint.java 10 public abstract class ECPoint
24 protected ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y)
64 if (!(other instanceof ECPoint))
69 ECPoint o = (ECPoint)other;
92 // * this <code>ECPoint</code>.
101 * to save the precomputation for this <code>ECPoint</code> to store the
113 public abstract ECPoint add(ECPoint b);
114 public abstract ECPoint subtract(ECPoint b)
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/params/
ECPublicKeyParameters.java 3 import org.bouncycastle.math.ec.ECPoint;
8 ECPoint Q;
11 ECPoint Q,
18 public ECPoint getQ()
ECDomainParameters.java 7 import org.bouncycastle.math.ec.ECPoint;
14 ECPoint G;
20 ECPoint G,
32 ECPoint G,
45 ECPoint G,
62 public ECPoint getG()
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/spec/
ECPublicKeySpec.java 3 import org.bouncycastle.math.ec.ECPoint;
11 private ECPoint q;
20 ECPoint q,
31 public ECPoint getQ()
ECNamedCurveParameterSpec.java 6 import org.bouncycastle.math.ec.ECPoint;
22 ECPoint G,
33 ECPoint G,
45 ECPoint G,
ECParameterSpec.java 4 import org.bouncycastle.math.ec.ECPoint;
17 private ECPoint G;
23 ECPoint G,
35 ECPoint G,
48 ECPoint G,
73 public ECPoint getG()
ECNamedCurveSpec.java 6 import java.security.spec.ECPoint;
49 private static ECPoint convertPoint(
50 org.bouncycastle.math.ec.ECPoint g)
52 return new ECPoint(g.getX().toBigInteger(), g.getY().toBigInteger());
58 org.bouncycastle.math.ec.ECPoint g,
69 ECPoint g,
80 org.bouncycastle.math.ec.ECPoint g,
92 ECPoint g,
104 org.bouncycastle.math.ec.ECPoint g,
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/interfaces/
ECPublicKey.java 5 import org.bouncycastle.math.ec.ECPoint;
16 public ECPoint getQ();
  /libcore/luni/src/main/java/java/security/interfaces/
ECPublicKey.java 21 import java.security.spec.ECPoint;
38 public ECPoint getW();
  /libcore/luni/src/main/java/java/security/spec/
ECPoint.java 25 public class ECPoint {
30 public static final ECPoint POINT_INFINITY = new ECPoint();
37 private ECPoint() {
50 public ECPoint(BigInteger affineX, BigInteger affineY) {
92 if (other instanceof ECPoint) {
94 ECPoint otherPoint = (ECPoint)other;
ECPublicKeySpec.java 25 private final ECPoint w;
40 public ECPublicKeySpec(ECPoint w, ECParameterSpec params) {
51 if (this.w.equals(ECPoint.POINT_INFINITY)) {
70 public ECPoint getW() {
ECParameterSpec.java 29 private final ECPoint generator;
51 public ECParameterSpec(EllipticCurve curve, ECPoint generator,
99 public ECPoint getGenerator() {
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
ECPointTest.java 25 import java.security.spec.ECPoint;
30 * Tests for <code>ECPoint</code> class fields and methods.
48 * Test #1 for <code>ECPoint(BigInteger, BigInteger)</code> constructor<br>
49 * Assertion: creates <code>ECPoint</code> instance<br>
54 new ECPoint(BigInteger.ZERO, BigInteger.ZERO);
55 new ECPoint(BigInteger.valueOf(-23456L), BigInteger.valueOf(-23456L));
56 new ECPoint(BigInteger.valueOf(123456L), BigInteger.valueOf(123456L));
57 new ECPoint(BigInteger.valueOf(-56L), BigInteger.valueOf(234L));
58 new ECPoint(BigInteger.valueOf(3456L), BigInteger.valueOf(-2344L));
62 * Test #2 for <code>ECPoint(BigInteger x, BigInteger y)</code> constructor<br>
    [all...]
  /libcore/luni/src/test/java/tests/security/spec/
ECPointTest.java 28 import java.security.spec.ECPoint;
31 * Tests for <code>ECPoint</code> class fields and methods.
41 * Test #1 for <code>ECPoint(BigInteger, BigInteger)</code> constructor<br>
42 * Assertion: creates <code>ECPoint</code> instance<br>
47 new ECPoint(BigInteger.ZERO, BigInteger.ZERO);
48 new ECPoint(BigInteger.valueOf(-23456L), BigInteger.valueOf(-23456L));
49 new ECPoint(BigInteger.valueOf(123456L), BigInteger.valueOf(123456L));
50 new ECPoint(BigInteger.valueOf(-56L), BigInteger.valueOf(234L));
51 new ECPoint(BigInteger.valueOf(3456L), BigInteger.valueOf(-2344L));
55 * Test #2 for <code>ECPoint(BigInteger x, BigInteger y)</code> constructor<br
    [all...]
ECPublicKeySpecTest.java 24 import java.security.spec.ECPoint;
29 ECPoint w;
37 ECPoint ecpoint = new ECPoint(BigInteger.valueOf(1), BigInteger local
42 w = new ECPoint(BigInteger.valueOf(1), BigInteger.valueOf(1));
43 params = new ECParameterSpec(curve, ecpoint, BigInteger.valueOf(1), 1);
55 * test for constructor ECPublicKeySpec(ECPoint, ECParameterSpec)
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/x9/
X9ECPoint.java 8 import org.bouncycastle.math.ec.ECPoint;
11 * class for describing an ECPoint as a DER object.
16 ECPoint p;
19 ECPoint p)
31 public ECPoint getPoint()
39 * ECPoint ::= OCTET STRING
42 * Octet string produced using ECPoint.getEncoded().
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/
ECPublicKeySpec_ImplTest.java 27 import java.security.spec.ECPoint;
49 * Test #1 for <code>ECPublicKeySpec(ECPoint, ECParameterSpec)</code> constructor<br>
60 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L));
67 * Test #2 for <code>ECPublicKeySpec(ECPoint, ECParameterSpec)</code> constructor<br>
79 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L));
107 * Test #3 for <code>ECPublicKeySpec(ECPoint, ECParameterSpec)</code> constructor<br>
110 * Test preconditions: pass <code>ECPoint.POINT_INFINITY</code>
120 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L))
    [all...]
ECPrivateKeySpec_ImplTest.java 27 import java.security.spec.ECPoint;
60 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L));
79 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L));
121 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L));
147 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L));
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/interfaces/
ECPublicKeyTest.java 25 import java.security.spec.ECPoint;
65 public ECPoint getW() {

Completed in 1937 milliseconds

1 2