HomeSort by relevance Sort by last modified time
    Searched full:ecpoint (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
WNafPreCompInfo.java 10 * Array holding the precomputed <code>ECPoint</code>s used for a Window
13 private ECPoint[] preComp = null;
16 * Array holding the negations of the precomputed <code>ECPoint</code>s used
19 private ECPoint[] preCompNeg = null;
22 * Holds an <code>ECPoint</code> representing twice(this). Used for the
25 private ECPoint twiceP = null;
27 protected ECPoint[] getPreComp()
32 protected ECPoint[] getPreCompNeg()
37 protected void setPreComp(ECPoint[] preComp)
42 protected void setPreCompNeg(ECPoint[] preCompNeg
    [all...]
AbstractECMultiplier.java 7 public ECPoint multiply(ECPoint p, BigInteger k)
15 ECPoint positive = multiplyPositive(p, k.abs());
19 protected abstract ECPoint multiplyPositive(ECPoint p, BigInteger k);
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);
WTauNafMultiplier.java 12 * Multiplies a {@link org.bouncycastle.math.ec.ECPoint.F2m ECPoint.F2m}
15 * @param p The ECPoint.F2m to multiply.
19 protected ECPoint multiplyPositive(ECPoint point, BigInteger k)
21 if (!(point instanceof ECPoint.F2m))
23 throw new IllegalArgumentException("Only ECPoint.F2m can be " +
27 ECPoint.F2m p = (ECPoint.F2m)point;
40 * Multiplies a {@link org.bouncycastle.math.ec.ECPoint.F2m ECPoint.F2m
    [all...]
ECAlgorithms.java 7 public static ECPoint sumOfTwoMultiplies(ECPoint P, BigInteger a,
8 ECPoint Q, BigInteger b)
45 public static ECPoint shamirsTrick(ECPoint P, BigInteger k,
46 ECPoint Q, BigInteger l)
54 public static ECPoint importPoint(ECCurve c, ECPoint p)
95 static ECPoint implShamirsTrick(ECPoint P, BigInteger k
    [all...]
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()
WNafL2RMultiplier.java 15 * @return A new <code>ECPoint</code> which equals <code>this</code>
18 protected ECPoint multiplyPositive(ECPoint p, BigInteger k)
24 ECPoint[] preComp = wnafPreCompInfo.getPreComp();
25 ECPoint[] preCompNeg = wnafPreCompInfo.getPreCompNeg();
29 ECPoint R = p.getCurve().getInfinity();
43 ECPoint[] table = digit < 0 ? preCompNeg : preComp;
81 ECPoint[] table = digit < 0 ? preCompNeg : preComp;
82 ECPoint r = table[n >>> 1];
ECPoint.java 8 public abstract class ECPoint
52 protected ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y)
57 protected ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs)
206 * @return a new ECPoint instance representing the same point, but with normalized coordinates
208 public ECPoint normalize()
235 ECPoint normalize(ECFieldElement zInv)
258 protected ECPoint createScaledPoint(ECFieldElement sx, ECFieldElement sy)
273 public boolean equals(ECPoint other)
289 ECPoint p1 = this, p2 = other;
310 ECPoint[] points = new ECPoint[]{ this, c1.importPoint(p2) }
    [all...]
  /external/bouncycastle/bcprov/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;
15 private ECPoint G;
21 ECPoint G,
29 ECPoint G,
38 ECPoint G,
55 public ECPoint getG()
  /external/bouncycastle/bcprov/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/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...]
ECParameterSpecTest.java 24 import java.security.spec.ECPoint;
31 ECPoint ecpoint; field in class:ECParameterSpecTest
39 ecpoint = new ECPoint(BigInteger.valueOf(1), BigInteger.valueOf(1));
40 ecps = new ECParameterSpec(curve, ecpoint, BigInteger.valueOf(1), 1);
45 ecpoint = null;
51 * test for ECParameterSpec(EllipticCurve, ECPoint, BigInteger, int) constructor
65 assertEquals("wrong generator was returned", ecpoint, ecps
72 new ECParameterSpec(null, ecpoint, BigInteger.valueOf(1), 1)
    [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/bcprov/src/main/java/org/bouncycastle/jce/spec/
ECPublicKeySpec.java 3 import org.bouncycastle.math.ec.ECPoint;
11 private ECPoint q;
20 ECPoint q,
38 public ECPoint getQ()
ECNamedCurveParameterSpec.java 6 import org.bouncycastle.math.ec.ECPoint;
22 ECPoint G,
33 ECPoint G,
45 ECPoint G,
ECNamedCurveSpec.java 6 import java.security.spec.ECPoint;
49 private static ECPoint convertPoint(
50 org.bouncycastle.math.ec.ECPoint g)
53 return new ECPoint(g.getAffineXCoord().toBigInteger(), g.getAffineYCoord().toBigInteger());
59 org.bouncycastle.math.ec.ECPoint g,
70 ECPoint g,
81 org.bouncycastle.math.ec.ECPoint g,
93 ECPoint g,
105 org.bouncycastle.math.ec.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()
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/
ECPublicKey.java 5 import org.bouncycastle.math.ec.ECPoint;
16 public ECPoint getQ();
  /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;
48 * Test #1 for <code>ECPublicKeySpec(ECPoint, ECParameterSpec)</code> constructor<br>
59 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L));
66 * Test #2 for <code>ECPublicKeySpec(ECPoint, ECParameterSpec)</code> constructor<br>
78 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L));
106 * Test #3 for <code>ECPublicKeySpec(ECPoint, ECParameterSpec)</code> constructor<br>
109 * Test preconditions: pass <code>ECPoint.POINT_INFINITY</code>
119 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L))
    [all...]
ECParameterSpec_ImplTest.java 27 import java.security.spec.ECPoint;
47 * Test #1 for <code>ECParameterSpec(EllipticCurve, ECPoint, BigInteger, int)</code> constructor<br>
58 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L));
63 * Test #2 for <code>ECParameterSpec(EllipticCurve, ECPoint, BigInteger, int)</code> constructor<br>
75 ECPoint generator = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L));
111 * Test #3 for <code>ECParameterSpec(EllipticCurve, ECPoint, BigInteger, int)</code> constructor<br>
123 ECPoint generator = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L))
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
SECNamedCurves.java 12 import org.bouncycastle.math.ec.ECPoint;
55 //ECPoint G = curve.decodePoint(Hex.decode("02"
57 ECPoint G = curve.decodePoint(Hex.decode("04"
81 //ECPoint G = curve.decodePoint(Hex.decode("03"
83 ECPoint G = curve.decodePoint(Hex.decode("04"
107 //ECPoint G = curve.decodePoint(Hex.decode("03"
109 ECPoint G = curve.decodePoint(Hex.decode("04"
133 //ECPoint G = curve.decodePoint(Hex.decode("02"
135 ECPoint G = curve.decodePoint(Hex.decode("04"
159 // ECPoint G = curve.decodePoint(Hex.decode("02
    [all...]
  /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;
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLECPointContext.java 20 import java.security.spec.ECPoint;
56 public ECPoint getECPoint() {
61 return new ECPoint(x, y);
75 ECPoint javaPoint) {

Completed in 498 milliseconds

1 2 3