/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; 14 ECPoint G; 20 ECPoint G, 32 ECPoint G, 45 ECPoint G, 62 public ECPoint getG()
|
/external/bouncycastle/bcprov/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)
|
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);
|
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;
|
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...] |
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()
|
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/bcprov/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,
|
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,
|
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/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)
|
ECPrivateKeySpecTest.java | 24 import java.security.spec.ECPoint; 39 ECPoint ecpoint = new ECPoint(BigInteger.valueOf(1), BigInteger local 45 ecparams = new ECParameterSpec(curve, ecpoint, BigInteger.valueOf(1), 1);
|
/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; 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...] |
ECParameterSpec_ImplTest.java | 27 import java.security.spec.ECPoint; 48 * Test #1 for <code>ECParameterSpec(EllipticCurve, ECPoint, BigInteger, int)</code> constructor<br> 59 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L)); 64 * Test #2 for <code>ECParameterSpec(EllipticCurve, ECPoint, BigInteger, int)</code> constructor<br> 76 ECPoint generator = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L)); 112 * Test #3 for <code>ECParameterSpec(EllipticCurve, ECPoint, BigInteger, int)</code> constructor<br> 124 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; 40 //ECPoint G = curve.decodePoint(Hex.decode("02" 42 ECPoint G = curve.decodePoint(Hex.decode("04" 66 //ECPoint G = curve.decodePoint(Hex.decode("03" 68 ECPoint G = curve.decodePoint(Hex.decode("04" 92 //ECPoint G = curve.decodePoint(Hex.decode("03" 94 ECPoint G = curve.decodePoint(Hex.decode("04" 118 //ECPoint G = curve.decodePoint(Hex.decode("02" 120 ECPoint G = curve.decodePoint(Hex.decode("04" 144 // 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;
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLECPointContext.java | 20 import java.security.spec.ECPoint; 56 public ECPoint getECPoint() { 61 return new ECPoint(x, y); 75 ECPoint javaPoint) {
|