Home
last modified time | relevance | path

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

123

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
DX962NamedCurves.java8 import org.bouncycastle.math.ec.ECCurve;
25 ECCurve cFp192v1 = new ECCurve.Fp(
47 ECCurve cFp192v2 = new ECCurve.Fp(
69 ECCurve cFp192v3 = new ECCurve.Fp(
91 ECCurve cFp239v1 = new ECCurve.Fp(
113 ECCurve cFp239v2 = new ECCurve.Fp(
135 ECCurve cFp239v3 = new ECCurve.Fp(
157 ECCurve cFp256v1 = new ECCurve.Fp(
182 ECCurve c2m163v1 = new ECCurve.F2m(
205 ECCurve c2m163v2 = new ECCurve.F2m(
[all …]
DX9ECParameters.java13 import org.bouncycastle.math.ec.ECCurve;
28 private ECCurve curve;
84 ECCurve curve, in X9ECParameters()
92 ECCurve curve, in X9ECParameters()
101 ECCurve curve, in X9ECParameters()
110 ECCurve curve, in X9ECParameters()
120 ECCurve curve, in X9ECParameters()
159 public ECCurve getCurve() in getCurve()
DX9Curve.java15 import org.bouncycastle.math.ec.ECCurve;
25 private ECCurve curve;
30 ECCurve curve) in X9Curve()
38 ECCurve curve, in X9Curve()
58 curve = new ECCurve.Fp(p, x9A.getValue().toBigInteger(), x9B.getValue().toBigInteger()); in X9Curve()
92 …curve = new ECCurve.F2m(m, k1, k2, k3, x9A.getValue().toBigInteger(), x9B.getValue().toBigInteger(… in X9Curve()
121 public ECCurve getCurve() in getCurve()
DX9ECPoint.java7 import org.bouncycastle.math.ec.ECCurve;
19 private ECCurve c;
37 ECCurve c, in X9ECPoint()
45 ECCurve c, in X9ECPoint()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
DSECNamedCurves.java12 import org.bouncycastle.math.ec.ECCurve;
20 private static ECCurve configureCurve(ECCurve curve) in configureCurve()
25 private static ECCurve configureCurveGLV(ECCurve c, GLVTypeBParameters p) in configureCurveGLV()
51 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
77 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
103 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
129 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
168 ECCurve curve = configureCurveGLV(new ECCurve.Fp(p, a, b, n, h), glv);
194 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
220 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECPoint.java13 protected static ECFieldElement[] getInitialZCoords(ECCurve curve) in getInitialZCoords()
16 int coord = null == curve ? ECCurve.COORD_AFFINE : curve.getCoordinateSystem(); in getInitialZCoords()
20 case ECCurve.COORD_AFFINE: in getInitialZCoords()
21 case ECCurve.COORD_LAMBDA_AFFINE: in getInitialZCoords()
31 case ECCurve.COORD_HOMOGENEOUS: in getInitialZCoords()
32 case ECCurve.COORD_JACOBIAN: in getInitialZCoords()
33 case ECCurve.COORD_LAMBDA_PROJECTIVE: in getInitialZCoords()
35 case ECCurve.COORD_JACOBIAN_CHUDNOVSKY: in getInitialZCoords()
37 case ECCurve.COORD_JACOBIAN_MODIFIED: in getInitialZCoords()
44 protected ECCurve curve;
[all …]
DECCurve.java17 public abstract class ECCurve class
65 public ECCurve create() in create()
72 ECCurve c = cloneCurve(); in create()
73 if (c == ECCurve.this) in create()
98 protected ECCurve(FiniteField field) in ECCurve() method in ECCurve
152 protected abstract ECCurve cloneCurve(); in cloneCurve()
265 case ECCurve.COORD_AFFINE: in normalizeAll()
266 case ECCurve.COORD_LAMBDA_AFFINE: in normalizeAll()
478 public boolean equals(ECCurve other) in equals()
489 return this == obj || (obj instanceof ECCurve && equals((ECCurve)obj)); in equals()
[all …]
DECAlgorithms.java12 public static boolean isF2mCurve(ECCurve c) in isF2mCurve()
23 public static boolean isFpCurve(ECCurve c) in isFpCurve()
52 ECCurve c = p.getCurve(); in sumOfMultiplies()
73 ECCurve cp = P.getCurve(); in sumOfTwoMultiplies()
77 if (cp instanceof ECCurve.AbstractF2m) in sumOfTwoMultiplies()
79 ECCurve.AbstractF2m f2mCurve = (ECCurve.AbstractF2m)cp; in sumOfTwoMultiplies()
118 ECCurve cp = P.getCurve(); in shamirsTrick()
124 public static ECPoint importPoint(ECCurve c, ECPoint p) in importPoint()
126 ECCurve cp = p.getCurve(); in importPoint()
223 ECCurve curve = P.getCurve(); in implShamirsTrickJsf()
[all …]
DWTauNafMultiplier.java31 ECCurve.AbstractF2m curve = (ECCurve.AbstractF2m)p.getCurve(); in multiplyPositive()
76 ECCurve.AbstractF2m curve = (ECCurve.AbstractF2m)p.getCurve(); in multiplyFromWTnaf()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ec/
DCustomNamedCurves.java13 import org.bouncycastle.math.ec.ECCurve;
57 private static ECCurve configureCurve(ECCurve curve) in configureCurve()
62 private static ECCurve configureCurveGLV(ECCurve c, GLVTypeBParameters p) in configureCurveGLV()
192 ECCurve curve = configureCurveGLV(new SecP192K1Curve(), glv);
208 ECCurve curve = configureCurve(new SecP192R1Curve());
236 ECCurve curve = configureCurveGLV(new SecP224K1Curve(), glv);
252 ECCurve curve = configureCurve(new SecP224R1Curve());
280 ECCurve curve = configureCurveGLV(new SecP256K1Curve(), glv);
296 ECCurve curve = configureCurve(new SecP256R1Curve());
312 ECCurve curve = configureCurve(new SecP384R1Curve());
[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()
DECNamedCurveParameterSpec.java5 import org.bouncycastle.math.ec.ECCurve;
21 ECCurve curve, in ECNamedCurveParameterSpec()
32 ECCurve curve, in ECNamedCurveParameterSpec()
44 ECCurve curve, in ECNamedCurveParameterSpec()
DECNamedCurveSpec.java11 import org.bouncycastle.math.ec.ECCurve;
27 ECCurve curve, in convertCurve()
59 ECCurve curve, in ECNamedCurveSpec()
81 ECCurve curve, in ECNamedCurveSpec()
105 ECCurve curve, in ECNamedCurveSpec()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DECDomainParameters.java6 import org.bouncycastle.math.ec.ECCurve;
13 private ECCurve curve;
20 ECCurve curve, in ECDomainParameters()
28 ECCurve curve, in ECDomainParameters()
37 ECCurve curve, in ECDomainParameters()
50 public ECCurve getCurve() in getCurve()
DECNamedDomainParameters.java6 import org.bouncycastle.math.ec.ECCurve;
14 … public ECNamedDomainParameters(ASN1ObjectIdentifier name, ECCurve curve, ECPoint G, BigInteger n) in ECNamedDomainParameters()
19 …public ECNamedDomainParameters(ASN1ObjectIdentifier name, ECCurve curve, ECPoint G, BigInteger n, … in ECNamedDomainParameters()
24 …public ECNamedDomainParameters(ASN1ObjectIdentifier name, ECCurve curve, ECPoint G, BigInteger n, … in ECNamedDomainParameters()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DEC5Util.java26 import org.bouncycastle.math.ec.ECCurve;
60 public static ECCurve getCurve( in getCurve()
64 ECCurve curve; in getCurve()
126 X962Parameters params, ECCurve curve) in convertToSpec()
202 ECCurve curve, in convertCurve()
213 public static ECCurve convertCurve( in convertCurve()
222 ECCurve.Fp curve = new ECCurve.Fp(((ECFieldFp)field).getP(), a, b); in convertCurve()
226 return (ECCurve)customCurves.get(curve); in convertCurve()
236 return new ECCurve.F2m(m, ks[0], ks[1], ks[2], a, b); in convertCurve()
286 ECCurve curve = convertCurve(ecSpec.getCurve()); in convertSpec()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DECDSASigner.java15 import org.bouncycastle.math.ec.ECCurve;
185 ECCurve curve = point.getCurve(); in verifySignature()
235 case ECCurve.COORD_HOMOGENEOUS: in getDenominator()
236 case ECCurve.COORD_LAMBDA_PROJECTIVE: in getDenominator()
237 case ECCurve.COORD_SKEWED: in getDenominator()
239 case ECCurve.COORD_JACOBIAN: in getDenominator()
240 case ECCurve.COORD_JACOBIAN_CHUDNOVSKY: in getDenominator()
241 case ECCurve.COORD_JACOBIAN_MODIFIED: in getDenominator()
/external/webrtc/webrtc/base/
Dsslidentity.h133 enum ECCurve { EC_NIST_P256, /* EC_FANCY, */ EC_LAST }; enum
145 static KeyParams ECDSA(ECCurve curve = EC_NIST_P256);
154 ECCurve ec_curve() const;
162 ECCurve curve;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
DSecP521R1Curve.java5 import org.bouncycastle.math.ec.ECCurve;
10 public class SecP521R1Curve extends ECCurve.AbstractFp
35 protected ECCurve cloneCurve() in cloneCurve()
DSecP224R1Curve.java5 import org.bouncycastle.math.ec.ECCurve;
10 public class SecP224R1Curve extends ECCurve.AbstractFp
35 protected ECCurve cloneCurve() in cloneCurve()
DSecP192K1Curve.java6 import org.bouncycastle.math.ec.ECCurve;
11 public class SecP192K1Curve extends ECCurve.AbstractFp
34 protected ECCurve cloneCurve() in cloneCurve()
DSecP224K1Curve.java6 import org.bouncycastle.math.ec.ECCurve;
11 public class SecP224K1Curve extends ECCurve.AbstractFp
33 protected ECCurve cloneCurve() in cloneCurve()
DSecP192R1Curve.java5 import org.bouncycastle.math.ec.ECCurve;
10 public class SecP192R1Curve extends ECCurve.AbstractFp
35 protected ECCurve cloneCurve() in cloneCurve()
DSecP256K1Curve.java6 import org.bouncycastle.math.ec.ECCurve;
11 public class SecP256K1Curve extends ECCurve.AbstractFp
33 protected ECCurve cloneCurve() in cloneCurve()
DSecP384R1Curve.java5 import org.bouncycastle.math.ec.ECCurve;
10 public class SecP384R1Curve extends ECCurve.AbstractFp
35 protected ECCurve cloneCurve() in cloneCurve()

123