Home
last modified time | relevance | path

Searched refs:ECCurve (Results 1 – 25 of 162) sorted by relevance

1234567

/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x9/
DX962NamedCurves.java9 import com.android.org.bouncycastle.math.ec.ECCurve;
21 private static X9ECPoint configureBasepoint(ECCurve curve, String encoding) in configureBasepoint()
28 private static ECCurve configureCurve(ECCurve curve) in configureCurve()
45 ECCurve curve = configureCurve(new ECCurve.Fp(
65 ECCurve curve = configureCurve(new ECCurve.Fp(
85 ECCurve curve = configureCurve(new ECCurve.Fp(
105 ECCurve curve = configureCurve(new ECCurve.Fp(
125 ECCurve curve = configureCurve(new ECCurve.Fp(
145 ECCurve curve = configureCurve(new ECCurve.Fp(
165 ECCurve curve = configureCurve(new ECCurve.Fp(
[all …]
DX9Curve.java16 import com.android.org.bouncycastle.math.ec.ECCurve;
28 private ECCurve curve;
33 ECCurve curve) in X9Curve()
39 ECCurve curve, in X9Curve()
59 curve = new ECCurve.Fp(p, A, B, order, cofactor); in X9Curve()
91 curve = new ECCurve.F2m(m, k1, k2, k3, A, B, order, cofactor); in X9Curve()
120 public ECCurve getCurve() in getCurve()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x9/
DX962NamedCurves.java9 import com.android.internal.org.bouncycastle.math.ec.ECCurve;
21 private static X9ECPoint configureBasepoint(ECCurve curve, String encoding) in configureBasepoint()
28 private static ECCurve configureCurve(ECCurve curve) in configureCurve()
45 ECCurve curve = configureCurve(new ECCurve.Fp(
65 ECCurve curve = configureCurve(new ECCurve.Fp(
85 ECCurve curve = configureCurve(new ECCurve.Fp(
105 ECCurve curve = configureCurve(new ECCurve.Fp(
125 ECCurve curve = configureCurve(new ECCurve.Fp(
145 ECCurve curve = configureCurve(new ECCurve.Fp(
165 ECCurve curve = configureCurve(new ECCurve.Fp(
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
DX962NamedCurves.java8 import org.bouncycastle.math.ec.ECCurve;
19 private static X9ECPoint configureBasepoint(ECCurve curve, String encoding) in configureBasepoint()
26 private static ECCurve configureCurve(ECCurve curve) in configureCurve()
43 ECCurve curve = configureCurve(new ECCurve.Fp(
63 ECCurve curve = configureCurve(new ECCurve.Fp(
83 ECCurve curve = configureCurve(new ECCurve.Fp(
103 ECCurve curve = configureCurve(new ECCurve.Fp(
123 ECCurve curve = configureCurve(new ECCurve.Fp(
143 ECCurve curve = configureCurve(new ECCurve.Fp(
163 ECCurve curve = configureCurve(new ECCurve.Fp(
[all …]
DX9Curve.java15 import org.bouncycastle.math.ec.ECCurve;
26 private ECCurve curve;
31 ECCurve curve) in X9Curve()
37 ECCurve curve, in X9Curve()
57 curve = new ECCurve.Fp(p, A, B, order, cofactor); in X9Curve()
89 curve = new ECCurve.F2m(m, k1, k2, k3, A, B, order, cofactor); in X9Curve()
118 public ECCurve getCurve() in getCurve()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
DSECNamedCurves.java12 import org.bouncycastle.math.ec.ECCurve;
22 private static X9ECPoint configureBasepoint(ECCurve curve, String encoding) in configureBasepoint()
29 private static ECCurve configureCurve(ECCurve curve) in configureCurve()
34 private static ECCurve configureCurveGLV(ECCurve c, GLVTypeBParameters p) in configureCurveGLV()
59 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
83 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
107 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
131 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
169 ECCurve curve = configureCurveGLV(new ECCurve.Fp(p, a, b, n, h), glv);
193 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/sec/
DSECNamedCurves.java13 import com.android.org.bouncycastle.math.ec.ECCurve;
26 private static X9ECPoint configureBasepoint(ECCurve curve, String encoding) in configureBasepoint()
33 private static ECCurve configureCurve(ECCurve curve) in configureCurve()
38 private static ECCurve configureCurveGLV(ECCurve c, GLVTypeBParameters p) in configureCurveGLV()
63 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
87 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
111 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
135 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
173 ECCurve curve = configureCurveGLV(new ECCurve.Fp(p, a, b, n, h), glv);
197 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/sec/
DSECNamedCurves.java13 import com.android.internal.org.bouncycastle.math.ec.ECCurve;
26 private static X9ECPoint configureBasepoint(ECCurve curve, String encoding) in configureBasepoint()
33 private static ECCurve configureCurve(ECCurve curve) in configureCurve()
38 private static ECCurve configureCurveGLV(ECCurve c, GLVTypeBParameters p) in configureCurveGLV()
63 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
87 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
111 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
135 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
173 ECCurve curve = configureCurveGLV(new ECCurve.Fp(p, a, b, n, h), glv);
197 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECPoint.java16 protected static ECFieldElement[] getInitialZCoords(ECCurve curve) in getInitialZCoords()
19 int coord = null == curve ? ECCurve.COORD_AFFINE : curve.getCoordinateSystem(); in getInitialZCoords()
23 case ECCurve.COORD_AFFINE: in getInitialZCoords()
24 case ECCurve.COORD_LAMBDA_AFFINE: in getInitialZCoords()
34 case ECCurve.COORD_HOMOGENEOUS: in getInitialZCoords()
35 case ECCurve.COORD_JACOBIAN: in getInitialZCoords()
36 case ECCurve.COORD_LAMBDA_PROJECTIVE: in getInitialZCoords()
38 case ECCurve.COORD_JACOBIAN_CHUDNOVSKY: in getInitialZCoords()
40 case ECCurve.COORD_JACOBIAN_MODIFIED: in getInitialZCoords()
47 protected ECCurve curve;
[all …]
DECCurve.java19 public abstract class ECCurve class
67 public ECCurve create() in create()
74 ECCurve c = cloneCurve(); in create()
75 if (c == ECCurve.this) in create()
100 protected ECCurve(FiniteField field) in ECCurve() method in ECCurve
135 protected abstract ECCurve cloneCurve(); in cloneCurve()
273 case ECCurve.COORD_AFFINE: in normalizeAll()
274 case ECCurve.COORD_LAMBDA_AFFINE: in normalizeAll()
562 public boolean equals(ECCurve other)
573 return this == obj || (obj instanceof ECCurve && equals((ECCurve)obj));
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/math/ec/
DECPoint.java18 protected static ECFieldElement[] getInitialZCoords(ECCurve curve) in getInitialZCoords()
21 int coord = null == curve ? ECCurve.COORD_AFFINE : curve.getCoordinateSystem(); in getInitialZCoords()
25 case ECCurve.COORD_AFFINE: in getInitialZCoords()
26 case ECCurve.COORD_LAMBDA_AFFINE: in getInitialZCoords()
36 case ECCurve.COORD_HOMOGENEOUS: in getInitialZCoords()
37 case ECCurve.COORD_JACOBIAN: in getInitialZCoords()
38 case ECCurve.COORD_LAMBDA_PROJECTIVE: in getInitialZCoords()
40 case ECCurve.COORD_JACOBIAN_CHUDNOVSKY: in getInitialZCoords()
42 case ECCurve.COORD_JACOBIAN_MODIFIED: in getInitialZCoords()
49 protected ECCurve curve;
[all …]
DECCurve.java21 public abstract class ECCurve class
72 public ECCurve create() in create()
79 ECCurve c = cloneCurve(); in create()
80 if (c == ECCurve.this) in create()
105 protected ECCurve(FiniteField field) in ECCurve() method in ECCurve
140 protected abstract ECCurve cloneCurve(); in cloneCurve()
278 case ECCurve.COORD_AFFINE: in normalizeAll()
279 case ECCurve.COORD_LAMBDA_AFFINE: in normalizeAll()
567 public boolean equals(ECCurve other)
578 return this == obj || (obj instanceof ECCurve && equals((ECCurve)obj));
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/
DECPoint.java18 protected static ECFieldElement[] getInitialZCoords(ECCurve curve) in getInitialZCoords()
21 int coord = null == curve ? ECCurve.COORD_AFFINE : curve.getCoordinateSystem(); in getInitialZCoords()
25 case ECCurve.COORD_AFFINE: in getInitialZCoords()
26 case ECCurve.COORD_LAMBDA_AFFINE: in getInitialZCoords()
36 case ECCurve.COORD_HOMOGENEOUS: in getInitialZCoords()
37 case ECCurve.COORD_JACOBIAN: in getInitialZCoords()
38 case ECCurve.COORD_LAMBDA_PROJECTIVE: in getInitialZCoords()
40 case ECCurve.COORD_JACOBIAN_CHUDNOVSKY: in getInitialZCoords()
42 case ECCurve.COORD_JACOBIAN_MODIFIED: in getInitialZCoords()
49 protected ECCurve curve;
[all …]
DECCurve.java21 public abstract class ECCurve class
72 public ECCurve create() in create()
79 ECCurve c = cloneCurve(); in create()
80 if (c == ECCurve.this) in create()
105 protected ECCurve(FiniteField field) in ECCurve() method in ECCurve
140 protected abstract ECCurve cloneCurve(); in cloneCurve()
278 case ECCurve.COORD_AFFINE: in normalizeAll()
279 case ECCurve.COORD_LAMBDA_AFFINE: in normalizeAll()
567 public boolean equals(ECCurve other)
578 return this == obj || (obj instanceof ECCurve && equals((ECCurve)obj));
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ec/
DCustomNamedCurves.java16 import org.bouncycastle.math.ec.ECCurve;
62 private static X9ECPoint configureBasepoint(ECCurve curve, String encoding) in configureBasepoint()
69 private static ECCurve configureCurve(ECCurve curve) in configureCurve()
74 private static ECCurve configureCurveGLV(ECCurve c, GLVTypeBParameters p) in configureCurveGLV()
203 ECCurve curve = configureCurveGLV(new SecP192K1Curve(), glv);
218 ECCurve curve = configureCurve(new SecP192R1Curve());
246 ECCurve curve = configureCurveGLV(new SecP224K1Curve(), glv);
261 ECCurve curve = configureCurve(new SecP224R1Curve());
289 ECCurve curve = configureCurveGLV(new SecP256K1Curve(), glv);
304 ECCurve curve = configureCurve(new SecP256R1Curve());
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/ec/
DCustomNamedCurves.java17 import com.android.internal.org.bouncycastle.math.ec.ECCurve;
66 private static X9ECPoint configureBasepoint(ECCurve curve, String encoding) in configureBasepoint()
73 private static ECCurve configureCurve(ECCurve curve) in configureCurve()
78 private static ECCurve configureCurveGLV(ECCurve c, GLVTypeBParameters p) in configureCurveGLV()
207 ECCurve curve = configureCurveGLV(new SecP192K1Curve(), glv);
222 ECCurve curve = configureCurve(new SecP192R1Curve());
250 ECCurve curve = configureCurveGLV(new SecP224K1Curve(), glv);
265 ECCurve curve = configureCurve(new SecP224R1Curve());
293 ECCurve curve = configureCurveGLV(new SecP256K1Curve(), glv);
308 ECCurve curve = configureCurve(new SecP256R1Curve());
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/ec/
DCustomNamedCurves.java17 import com.android.org.bouncycastle.math.ec.ECCurve;
66 private static X9ECPoint configureBasepoint(ECCurve curve, String encoding) in configureBasepoint()
73 private static ECCurve configureCurve(ECCurve curve) in configureCurve()
78 private static ECCurve configureCurveGLV(ECCurve c, GLVTypeBParameters p) in configureCurveGLV()
207 ECCurve curve = configureCurveGLV(new SecP192K1Curve(), glv);
222 ECCurve curve = configureCurve(new SecP192R1Curve());
250 ECCurve curve = configureCurveGLV(new SecP224K1Curve(), glv);
265 ECCurve curve = configureCurve(new SecP224R1Curve());
293 ECCurve curve = configureCurveGLV(new SecP256K1Curve(), glv);
308 ECCurve curve = configureCurve(new SecP256R1Curve());
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/
DECParameterSpec.java3 import org.bouncycastle.math.ec.ECCurve;
15 private ECCurve curve;
22 ECCurve curve, in ECParameterSpec()
34 ECCurve curve, in ECParameterSpec()
47 ECCurve curve, in ECParameterSpec()
64 public ECCurve getCurve() in getCurve()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/spec/
DECParameterSpec.java4 import com.android.org.bouncycastle.math.ec.ECCurve;
17 private ECCurve curve;
24 ECCurve curve, in ECParameterSpec()
36 ECCurve curve, in ECParameterSpec()
49 ECCurve curve, in ECParameterSpec()
66 public ECCurve getCurve() in getCurve()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/spec/
DECParameterSpec.java4 import com.android.internal.org.bouncycastle.math.ec.ECCurve;
17 private ECCurve curve;
24 ECCurve curve, in ECParameterSpec()
36 ECCurve curve, in ECParameterSpec()
49 ECCurve curve, in ECParameterSpec()
66 public ECCurve getCurve() in getCurve()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DECDomainParameters.java8 import org.bouncycastle.math.ec.ECCurve;
16 private final ECCurve curve;
30 ECCurve curve, in ECDomainParameters()
38 ECCurve curve, in ECDomainParameters()
47 ECCurve curve, in ECDomainParameters()
70 public ECCurve getCurve() in getCurve()
157 static ECPoint validatePublicPoint(ECCurve c, ECPoint q) in validatePublicPoint()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DECDomainParameters.java9 import com.android.org.bouncycastle.math.ec.ECCurve;
20 private final ECCurve curve;
34 ECCurve curve, in ECDomainParameters()
42 ECCurve curve, in ECDomainParameters()
51 ECCurve curve, in ECDomainParameters()
74 public ECCurve getCurve() in getCurve()
161 static ECPoint validatePublicPoint(ECCurve c, ECPoint q) in validatePublicPoint()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/params/
DECDomainParameters.java9 import com.android.internal.org.bouncycastle.math.ec.ECCurve;
20 private final ECCurve curve;
34 ECCurve curve, in ECDomainParameters()
42 ECCurve curve, in ECDomainParameters()
51 ECCurve curve, in ECDomainParameters()
74 public ECCurve getCurve() in getCurve()
161 static ECPoint validatePublicPoint(ECCurve c, ECPoint q) in validatePublicPoint()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DEC5Util.java30 import org.bouncycastle.math.ec.ECCurve;
70 public static ECCurve getCurve( in getCurve()
74 ECCurve curve; in getCurve()
154 X962Parameters params, ECCurve curve) in convertToSpec()
259 ECCurve curve, in convertCurve()
270 public static ECCurve convertCurve( in convertCurve()
279 ECCurve.Fp curve = new ECCurve.Fp(((ECFieldFp)field).getP(), a, b); in convertCurve()
283 return (ECCurve)customCurves.get(curve); in convertCurve()
293 return new ECCurve.F2m(m, ks[0], ks[1], ks[2], a, b); in convertCurve()
332 ECCurve curve = convertCurve(ecSpec.getCurve()); in convertSpec()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/
DEC5Util.java31 import com.android.org.bouncycastle.math.ec.ECCurve;
74 public static ECCurve getCurve( in getCurve()
78 ECCurve curve; in getCurve()
158 X962Parameters params, ECCurve curve) in convertToSpec()
263 ECCurve curve, in convertCurve()
274 public static ECCurve convertCurve( in convertCurve()
283 ECCurve.Fp curve = new ECCurve.Fp(((ECFieldFp)field).getP(), a, b); in convertCurve()
287 return (ECCurve)customCurves.get(curve); in convertCurve()
297 return new ECCurve.F2m(m, ks[0], ks[1], ks[2], a, b); in convertCurve()
336 ECCurve curve = convertCurve(ecSpec.getCurve()); in convertSpec()
[all …]

1234567