/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
D | X962NamedCurves.java | 8 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 …]
|
D | X9ECParameters.java | 13 import org.bouncycastle.math.ec.ECCurve; 29 private ECCurve curve; 86 ECCurve curve, in X9ECParameters() 94 ECCurve curve, in X9ECParameters() 103 ECCurve curve, in X9ECParameters() 112 ECCurve curve, in X9ECParameters() 122 ECCurve curve, in X9ECParameters() 161 public ECCurve getCurve() in getCurve()
|
D | X9Curve.java | 15 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() 91 curve = new ECCurve.F2m(m, k1, k2, k3, A, B, order, cofactor); in X9Curve() 120 public ECCurve getCurve() in getCurve()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x9/ |
D | X962NamedCurves.java | 9 import com.android.org.bouncycastle.math.ec.ECCurve; 27 ECCurve cFp192v1 = new ECCurve.Fp( 49 ECCurve cFp192v2 = new ECCurve.Fp( 71 ECCurve cFp192v3 = new ECCurve.Fp( 93 ECCurve cFp239v1 = new ECCurve.Fp( 115 ECCurve cFp239v2 = new ECCurve.Fp( 137 ECCurve cFp239v3 = new ECCurve.Fp( 159 ECCurve cFp256v1 = new ECCurve.Fp( 184 ECCurve c2m163v1 = new ECCurve.F2m( 207 ECCurve c2m163v2 = new ECCurve.F2m( [all …]
|
D | X9ECParameters.java | 14 import com.android.org.bouncycastle.math.ec.ECCurve; 31 private ECCurve curve; 88 ECCurve curve, in X9ECParameters() 96 ECCurve curve, in X9ECParameters() 105 ECCurve curve, in X9ECParameters() 114 ECCurve curve, in X9ECParameters() 124 ECCurve curve, in X9ECParameters() 163 public ECCurve getCurve() in getCurve()
|
D | X9Curve.java | 16 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() 93 curve = new ECCurve.F2m(m, k1, k2, k3, A, B, order, cofactor); in X9Curve() 122 public ECCurve getCurve() in getCurve()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/ |
D | SECNamedCurves.java | 12 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/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/sec/ |
D | SECNamedCurves.java | 13 import com.android.org.bouncycastle.math.ec.ECCurve; 24 private static ECCurve configureCurve(ECCurve curve) in configureCurve() 29 private static ECCurve configureCurveGLV(ECCurve c, GLVTypeBParameters p) in configureCurveGLV() 55 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h)); 81 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h)); 107 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h)); 133 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h)); 172 ECCurve curve = configureCurveGLV(new ECCurve.Fp(p, a, b, n, h), glv); 198 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h)); 224 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h)); [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | ECPoint.java | 13 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 …]
|
D | ECCurve.java | 18 public abstract class ECCurve class 66 public ECCurve create() in create() 73 ECCurve c = cloneCurve(); in create() 74 if (c == ECCurve.this) in create() 99 protected ECCurve(FiniteField field) in ECCurve() method in ECCurve 153 protected abstract ECCurve cloneCurve(); in cloneCurve() 291 case ECCurve.COORD_AFFINE: in normalizeAll() 292 case ECCurve.COORD_LAMBDA_AFFINE: in normalizeAll() 559 public boolean equals(ECCurve other) 570 return this == obj || (obj instanceof ECCurve && equals((ECCurve)obj)); [all …]
|
D | ECAlgorithms.java | 12 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() 220 public static ECPoint cleanPoint(ECCurve c, ECPoint p) in cleanPoint() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/ |
D | ECPoint.java | 15 protected static ECFieldElement[] getInitialZCoords(ECCurve curve) in getInitialZCoords() 18 int coord = null == curve ? ECCurve.COORD_AFFINE : curve.getCoordinateSystem(); in getInitialZCoords() 22 case ECCurve.COORD_AFFINE: in getInitialZCoords() 23 case ECCurve.COORD_LAMBDA_AFFINE: in getInitialZCoords() 33 case ECCurve.COORD_HOMOGENEOUS: in getInitialZCoords() 34 case ECCurve.COORD_JACOBIAN: in getInitialZCoords() 35 case ECCurve.COORD_LAMBDA_PROJECTIVE: in getInitialZCoords() 37 case ECCurve.COORD_JACOBIAN_CHUDNOVSKY: in getInitialZCoords() 39 case ECCurve.COORD_JACOBIAN_MODIFIED: in getInitialZCoords() 46 protected ECCurve curve; [all …]
|
D | ECCurve.java | 20 public abstract class ECCurve class 71 public ECCurve create() in create() 78 ECCurve c = cloneCurve(); in create() 79 if (c == ECCurve.this) in create() 104 protected ECCurve(FiniteField field) in ECCurve() method in ECCurve 158 protected abstract ECCurve cloneCurve(); in cloneCurve() 296 case ECCurve.COORD_AFFINE: in normalizeAll() 297 case ECCurve.COORD_LAMBDA_AFFINE: in normalizeAll() 564 public boolean equals(ECCurve other) 575 return this == obj || (obj instanceof ECCurve && equals((ECCurve)obj)); [all …]
|
D | ECAlgorithms.java | 16 public static boolean isF2mCurve(ECCurve c) in isF2mCurve() 27 public static boolean isFpCurve(ECCurve c) in isFpCurve() 56 ECCurve c = p.getCurve(); in sumOfMultiplies() 77 ECCurve cp = P.getCurve(); in sumOfTwoMultiplies() 81 if (cp instanceof ECCurve.AbstractF2m) in sumOfTwoMultiplies() 83 ECCurve.AbstractF2m f2mCurve = (ECCurve.AbstractF2m)cp; in sumOfTwoMultiplies() 122 ECCurve cp = P.getCurve(); in shamirsTrick() 128 public static ECPoint importPoint(ECCurve c, ECPoint p) in importPoint() 130 ECCurve cp = p.getCurve(); in importPoint() 224 public static ECPoint cleanPoint(ECCurve c, ECPoint p) in cleanPoint() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ec/ |
D | CustomNamedCurves.java | 16 import org.bouncycastle.math.ec.ECCurve; 60 private static ECCurve configureCurve(ECCurve curve) in configureCurve() 65 private static ECCurve configureCurveGLV(ECCurve c, GLVTypeBParameters p) in configureCurveGLV() 197 ECCurve curve = configureCurveGLV(new SecP192K1Curve(), glv); 213 ECCurve curve = configureCurve(new SecP192R1Curve()); 241 ECCurve curve = configureCurveGLV(new SecP224K1Curve(), glv); 257 ECCurve curve = configureCurve(new SecP224R1Curve()); 285 ECCurve curve = configureCurveGLV(new SecP256K1Curve(), glv); 301 ECCurve curve = configureCurve(new SecP256R1Curve()); 317 ECCurve curve = configureCurve(new SecP384R1Curve()); [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
D | ECDomainParameters.java | 7 import org.bouncycastle.math.ec.ECCurve; 14 private ECCurve curve; 22 ECCurve curve, in ECDomainParameters() 30 ECCurve curve, in ECDomainParameters() 39 ECCurve curve, in ECDomainParameters() 62 public ECCurve getCurve() in getCurve() 126 static ECPoint validate(ECCurve c, ECPoint q) in validate()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/ec/ |
D | CustomNamedCurves.java | 17 import com.android.org.bouncycastle.math.ec.ECCurve; 64 private static ECCurve configureCurve(ECCurve curve) in configureCurve() 69 private static ECCurve configureCurveGLV(ECCurve c, GLVTypeBParameters p) in configureCurveGLV() 201 ECCurve curve = configureCurveGLV(new SecP192K1Curve(), glv); 217 ECCurve curve = configureCurve(new SecP192R1Curve()); 245 ECCurve curve = configureCurveGLV(new SecP224K1Curve(), glv); 261 ECCurve curve = configureCurve(new SecP224R1Curve()); 289 ECCurve curve = configureCurveGLV(new SecP256K1Curve(), glv); 305 ECCurve curve = configureCurve(new SecP256R1Curve()); 321 ECCurve curve = configureCurve(new SecP384R1Curve()); [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/ |
D | ECParameterSpec.java | 3 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()
|
D | ECNamedCurveParameterSpec.java | 5 import org.bouncycastle.math.ec.ECCurve; 21 ECCurve curve, in ECNamedCurveParameterSpec() 32 ECCurve curve, in ECNamedCurveParameterSpec() 44 ECCurve curve, in ECNamedCurveParameterSpec()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/spec/ |
D | ECParameterSpec.java | 4 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/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/ |
D | ECDomainParameters.java | 8 import com.android.org.bouncycastle.math.ec.ECCurve; 18 private ECCurve curve; 26 ECCurve curve, in ECDomainParameters() 34 ECCurve curve, in ECDomainParameters() 43 ECCurve curve, in ECDomainParameters() 66 public ECCurve getCurve() in getCurve() 130 static ECPoint validate(ECCurve c, ECPoint q) in validate()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | EC5Util.java | 26 import org.bouncycastle.math.ec.ECCurve; 66 public static ECCurve getCurve( in getCurve() 70 ECCurve curve; in getCurve() 132 X962Parameters params, ECCurve curve) in convertToSpec() 211 ECCurve curve, in convertCurve() 222 public static ECCurve convertCurve( in convertCurve() 231 ECCurve.Fp curve = new ECCurve.Fp(((ECFieldFp)field).getP(), a, b); in convertCurve() 235 return (ECCurve)customCurves.get(curve); in convertCurve() 245 return new ECCurve.F2m(m, ks[0], ks[1], ks[2], a, b); in convertCurve() 291 ECCurve curve = convertCurve(ecSpec.getCurve()); in convertSpec() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | EC5Util.java | 27 import com.android.org.bouncycastle.math.ec.ECCurve; 70 public static ECCurve getCurve( in getCurve() 74 ECCurve curve; in getCurve() 136 X962Parameters params, ECCurve curve) in convertToSpec() 215 ECCurve curve, in convertCurve() 226 public static ECCurve convertCurve( in convertCurve() 235 ECCurve.Fp curve = new ECCurve.Fp(((ECFieldFp)field).getP(), a, b); in convertCurve() 239 return (ECCurve)customCurves.get(curve); in convertCurve() 249 return new ECCurve.F2m(m, ks[0], ks[1], ks[2], a, b); in convertCurve() 295 ECCurve curve = convertCurve(ecSpec.getCurve()); in convertSpec() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/ |
D | ECDSASigner.java | 16 import org.bouncycastle.math.ec.ECCurve; 191 ECCurve curve = point.getCurve(); in verifySignature() 241 case ECCurve.COORD_HOMOGENEOUS: in getDenominator() 242 case ECCurve.COORD_LAMBDA_PROJECTIVE: in getDenominator() 243 case ECCurve.COORD_SKEWED: in getDenominator() 245 case ECCurve.COORD_JACOBIAN: in getDenominator() 246 case ECCurve.COORD_JACOBIAN_CHUDNOVSKY: in getDenominator() 247 case ECCurve.COORD_JACOBIAN_MODIFIED: in getDenominator()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/signers/ |
D | ECDSASigner.java | 17 import com.android.org.bouncycastle.math.ec.ECCurve; 193 ECCurve curve = point.getCurve(); in verifySignature() 243 case ECCurve.COORD_HOMOGENEOUS: in getDenominator() 244 case ECCurve.COORD_LAMBDA_PROJECTIVE: in getDenominator() 245 case ECCurve.COORD_SKEWED: in getDenominator() 247 case ECCurve.COORD_JACOBIAN: in getDenominator() 248 case ECCurve.COORD_JACOBIAN_CHUDNOVSKY: in getDenominator() 249 case ECCurve.COORD_JACOBIAN_MODIFIED: in getDenominator()
|