Searched refs:ecParams (Results 1 – 8 of 8) sorted by relevance
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | KeyPairGeneratorSpi.java | 45 Object ecParams = null; field in KeyPairGeneratorSpi.EC 98 … ECGenParameterSpec ecParams = (ECGenParameterSpec)ecParameters.get(Integers.valueOf(strength)); in initialize() local 99 if (ecParams == null) in initialize() 106 initialize(ecParams, random); in initialize() 132 this.ecParams = null; in initialize() 137 this.ecParams = params; in initialize() 142 this.ecParams = params; in initialize() 173 if (ecParams instanceof ECParameterSpec) in generateKeyPair() 175 ECParameterSpec p = (ECParameterSpec)ecParams; in generateKeyPair() 181 else if (ecParams == null) in generateKeyPair() [all …]
|
/external/wycheproof/java/com/google/security/wycheproof/ |
D | EcUtil.java | 344 public static ECPoint getPoint(BigInteger x, boolean bit0, ECParameterSpec ecParams) in getPoint() argument 346 EllipticCurve ec = ecParams.getCurve(); in getPoint() 372 public static ECPoint decompressPoint(byte[] bytes, ECParameterSpec ecParams) in decompressPoint() argument 374 EllipticCurve ec = ecParams.getCurve(); in decompressPoint() 418 public static ECPublicKeySpec getWeakPublicKey(ECParameterSpec ecParams) in getWeakPublicKey() argument 420 EllipticCurve curve = ecParams.getCurve(); in getWeakPublicKey() 422 keyGen.initialize(ecParams); in getWeakPublicKey()
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | EcKeyTest.java | 166 void testKeyGeneration(ECParameterSpec ecParams, boolean isStandard) throws Exception { in testKeyGeneration() argument 170 keyGen.initialize(ecParams); in testKeyGeneration() 183 assertTrue(s.bitLength() >= EcUtil.fieldSizeInBits(ecParams.getCurve()) - 32); in testKeyGeneration()
|
D | EcdsaTest.java | 721 public void testBias(String algorithm, String curve, ECParameterSpec ecParams) throws Exception { in testBias() argument 724 keyGen.initialize(ecParams); in testBias() 813 public void testTiming(String algorithm, String curve, ECParameterSpec ecParams) in testTiming() argument
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | ConscryptFileDescriptorSocket.java | 820 ECParameterSpec ecParams = null; in setChannelIdPrivateKey() local 822 ecParams = ((ECKey) privateKey).getParams(); in setChannelIdPrivateKey() 824 if (ecParams == null) { in setChannelIdPrivateKey() 826 ecParams = in setChannelIdPrivateKey() 830 OpenSSLKey.fromECPrivateKeyForTLSStackOnly(privateKey, ecParams); in setChannelIdPrivateKey()
|
D | OpenSSLKey.java | 134 PrivateKey key, ECParameterSpec ecParams) throws InvalidKeyException { in fromECPrivateKeyForTLSStackOnly() argument 145 return OpenSSLECPrivateKey.wrapJCAPrivateKeyForTLSStackOnly(key, ecParams); in fromECPrivateKeyForTLSStackOnly()
|
D | ConscryptEngine.java | 295 ECParameterSpec ecParams = null; in setChannelIdPrivateKey() local 297 ecParams = ((ECKey) privateKey).getParams(); in setChannelIdPrivateKey() 299 if (ecParams == null) { in setChannelIdPrivateKey() 301 ecParams = in setChannelIdPrivateKey() 305 OpenSSLKey.fromECPrivateKeyForTLSStackOnly(privateKey, ecParams); in setChannelIdPrivateKey()
|
/external/bouncycastle/patches/ |
D | bcprov.patch | 2546 Object ecParams = null; 2566 … ECGenParameterSpec ecParams = (ECGenParameterSpec)ecParameters.get(Integers.valueOf(strength)); 2567 if (ecParams == null)
|