/external/python/cryptography/src/cryptography/hazmat/primitives/asymmetric/ |
D | ec.py | 39 class EllipticCurve(object): class 159 if not isinstance(curve, EllipticCurve): 175 @utils.register_interface(EllipticCurve) 181 @utils.register_interface(EllipticCurve) 187 @utils.register_interface(EllipticCurve) 193 @utils.register_interface(EllipticCurve) 199 @utils.register_interface(EllipticCurve) 205 @utils.register_interface(EllipticCurve) 211 @utils.register_interface(EllipticCurve) 217 @utils.register_interface(EllipticCurve) [all …]
|
/external/wycheproof/java/com/google/security/wycheproof/ |
D | EcUtil.java | 32 import java.security.spec.EllipticCurve; 83 java.security.spec.EllipticCurve curveSpec = new java.security.spec.EllipticCurve(fp, a, b); in getNistCurveSpec() 152 EllipticCurve curve = new EllipticCurve(fp, a, b); in getBrainpoolP256r1Params() 262 public static BigInteger getModulus(EllipticCurve curve) throws GeneralSecurityException { in getModulus() 277 public static int fieldSizeInBits(EllipticCurve curve) throws GeneralSecurityException { in fieldSizeInBits() 287 public static int fieldSizeInBytes(EllipticCurve curve) throws GeneralSecurityException { in fieldSizeInBytes() 304 public static void checkPointOnCurve(ECPoint point, EllipticCurve ec) in checkPointOnCurve() 346 EllipticCurve ec = ecParams.getCurve(); in getPoint() 374 EllipticCurve ec = ecParams.getCurve(); in decompressPoint() 420 EllipticCurve curve = ecParams.getCurve(); in getWeakPublicKey() [all …]
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/handshake/ |
D | EllipticCurve.java | 24 public enum EllipticCurve { enum 59 private EllipticCurve(int identifier, String name) { in EllipticCurve() method in EllipticCurve 63 public static EllipticCurve fromIdentifier(int identifier) { in fromIdentifier() 64 for (EllipticCurve curve : values()) { in fromIdentifier()
|
D | EllipticCurvesHelloExtension.java | 31 public List<EllipticCurve> supported; 41 supported = new ArrayList<EllipticCurve>(ellipticCurvesListIn.available() / 2); in parseData() 44 supported.add(EllipticCurve.fromIdentifier(curve_id)); in parseData()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/handshake/ |
D | EllipticCurve.java | 22 public enum EllipticCurve { enum 57 private EllipticCurve(int identifier, String name) { in EllipticCurve() method in EllipticCurve 61 public static EllipticCurve fromIdentifier(int identifier) { in fromIdentifier() 62 for (EllipticCurve curve : values()) { in fromIdentifier()
|
D | EllipticCurvesHelloExtension.java | 29 public List<EllipticCurve> supported; 39 supported = new ArrayList<EllipticCurve>(ellipticCurvesListIn.available() / 2); in parseData() 42 supported.add(EllipticCurve.fromIdentifier(curve_id)); in parseData()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/ |
D | ECNamedCurveSpec.java | 8 import java.security.spec.EllipticCurve; 27 private static EllipticCurve convertCurve( in convertCurve() 33 return new EllipticCurve(field, a, b, seed); in convertCurve() 64 EllipticCurve curve, in ECNamedCurveSpec() 87 EllipticCurve curve, in ECNamedCurveSpec()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/spec/ |
D | ECNamedCurveSpec.java | 9 import java.security.spec.EllipticCurve; 29 private static EllipticCurve convertCurve( in convertCurve() 35 return new EllipticCurve(field, a, b, seed); in convertCurve() 66 EllipticCurve curve, in ECNamedCurveSpec() 89 EllipticCurve curve, in ECNamedCurveSpec()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/spec/ |
D | ECNamedCurveSpec.java | 9 import java.security.spec.EllipticCurve; 29 private static EllipticCurve convertCurve( in convertCurve() 35 return new EllipticCurve(field, a, b, seed); in convertCurve() 66 EllipticCurve curve, in ECNamedCurveSpec() 89 EllipticCurve curve, in ECNamedCurveSpec()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLECGroupContext.java | 26 import java.security.spec.EllipticCurve; 90 final EllipticCurve curve = params.getCurve(); in getInstance() 184 final EllipticCurve curve = new EllipticCurve(field, a, b); in getECParameterSpec()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLECGroupContext.java | 27 import java.security.spec.EllipticCurve; 91 final EllipticCurve curve = params.getCurve(); in getInstance() 185 final EllipticCurve curve = new EllipticCurve(field, a, b); in getECParameterSpec()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | JCEECPrivateKey.java | 11 import java.security.spec.EllipticCurve; 78 EllipticCurve ellipticCurve; in JCEECPrivateKey() 124 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPrivateKey() 152 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPrivateKey() 162 EllipticCurve ellipticCurve = EC5Util.convertCurve(spec.getCurve(), spec.getSeed()); in JCEECPrivateKey() 218 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo() 235 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo()
|
D | JCEECPublicKey.java | 11 import java.security.spec.EllipticCurve; 86 EllipticCurve ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in JCEECPublicKey() 114 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPublicKey() 136 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPublicKey() 142 EllipticCurve ellipticCurve = EC5Util.convertCurve(spec.getCurve(), spec.getSeed()); in JCEECPublicKey() 160 private ECParameterSpec createSpec(EllipticCurve ellipticCurve, ECDomainParameters dp) in createSpec() 236 EllipticCurve ellipticCurve; in populateFromPubKeyInfo()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | BCECPublicKey.java | 10 import java.security.spec.EllipticCurve; 77 EllipticCurve ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in BCECPublicKey() 108 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in BCECPublicKey() 132 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in BCECPublicKey() 138 EllipticCurve ellipticCurve = EC5Util.convertCurve(spec.getCurve(), spec.getSeed()); in BCECPublicKey() 181 private ECParameterSpec createSpec(EllipticCurve ellipticCurve, ECDomainParameters dp) in createSpec()
|
D | BCECPrivateKey.java | 10 import java.security.spec.EllipticCurve; 75 EllipticCurve ellipticCurve; in BCECPrivateKey() 128 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in BCECPrivateKey() 158 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in BCECPrivateKey() 168 EllipticCurve ellipticCurve = EC5Util.convertCurve(spec.getCurve(), spec.getSeed()); in BCECPrivateKey()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/ |
D | JCEECPrivateKey.java | 12 import java.security.spec.EllipticCurve; 82 EllipticCurve ellipticCurve; in JCEECPrivateKey() 128 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPrivateKey() 156 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPrivateKey() 166 EllipticCurve ellipticCurve = EC5Util.convertCurve(spec.getCurve(), spec.getSeed()); in JCEECPrivateKey() 222 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo() 239 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo()
|
D | JCEECPublicKey.java | 12 import java.security.spec.EllipticCurve; 90 EllipticCurve ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in JCEECPublicKey() 118 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPublicKey() 140 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPublicKey() 146 EllipticCurve ellipticCurve = EC5Util.convertCurve(spec.getCurve(), spec.getSeed()); in JCEECPublicKey() 164 private ECParameterSpec createSpec(EllipticCurve ellipticCurve, ECDomainParameters dp) in createSpec() 240 EllipticCurve ellipticCurve; in populateFromPubKeyInfo()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | EC5Util.java | 9 import java.security.spec.EllipticCurve; 157 EllipticCurve ellipticCurve; in convertToSpec() 258 public static EllipticCurve convertCurve( in convertCurve() 267 return new EllipticCurve(field, a, b, null); in convertCurve() 271 EllipticCurve ec) in convertCurve() 313 EllipticCurve ellipticCurve, in convertSpec()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | BCECPublicKey.java | 11 import java.security.spec.EllipticCurve; 81 EllipticCurve ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in BCECPublicKey() 112 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in BCECPublicKey() 136 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in BCECPublicKey() 142 EllipticCurve ellipticCurve = EC5Util.convertCurve(spec.getCurve(), spec.getSeed()); in BCECPublicKey() 185 private ECParameterSpec createSpec(EllipticCurve ellipticCurve, ECDomainParameters dp) in createSpec()
|
D | BCECPrivateKey.java | 11 import java.security.spec.EllipticCurve; 79 EllipticCurve ellipticCurve; in BCECPrivateKey() 132 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in BCECPrivateKey() 162 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in BCECPrivateKey() 172 EllipticCurve ellipticCurve = EC5Util.convertCurve(spec.getCurve(), spec.getSeed()); in BCECPrivateKey()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | EC5Util.java | 10 import java.security.spec.EllipticCurve; 161 EllipticCurve ellipticCurve; in convertToSpec() 262 public static EllipticCurve convertCurve( in convertCurve() 271 return new EllipticCurve(field, a, b, null); in convertCurve() 275 EllipticCurve ec) in convertCurve() 317 EllipticCurve ellipticCurve, in convertSpec()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/ |
D | JCEECPublicKey.java | 12 import java.security.spec.EllipticCurve; 90 EllipticCurve ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in JCEECPublicKey() 118 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPublicKey() 140 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPublicKey() 146 EllipticCurve ellipticCurve = EC5Util.convertCurve(spec.getCurve(), spec.getSeed()); in JCEECPublicKey() 164 private ECParameterSpec createSpec(EllipticCurve ellipticCurve, ECDomainParameters dp) in createSpec() 240 EllipticCurve ellipticCurve; in populateFromPubKeyInfo()
|
D | JCEECPrivateKey.java | 12 import java.security.spec.EllipticCurve; 82 EllipticCurve ellipticCurve; in JCEECPrivateKey() 128 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPrivateKey() 156 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPrivateKey() 166 EllipticCurve ellipticCurve = EC5Util.convertCurve(spec.getCurve(), spec.getSeed()); in JCEECPrivateKey() 222 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo() 239 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | BCECPublicKey.java | 11 import java.security.spec.EllipticCurve; 81 EllipticCurve ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in BCECPublicKey() 112 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in BCECPublicKey() 136 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in BCECPublicKey() 142 EllipticCurve ellipticCurve = EC5Util.convertCurve(spec.getCurve(), spec.getSeed()); in BCECPublicKey() 185 private ECParameterSpec createSpec(EllipticCurve ellipticCurve, ECDomainParameters dp) in createSpec()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | EC5Util.java | 10 import java.security.spec.EllipticCurve; 161 EllipticCurve ellipticCurve; in convertToSpec() 262 public static EllipticCurve convertCurve( in convertCurve() 271 return new EllipticCurve(field, a, b, null); in convertCurve() 275 EllipticCurve ec) in convertCurve() 317 EllipticCurve ellipticCurve, in convertSpec()
|