Searched refs:ecParams (Results 1 - 8 of 8) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
H A DKeyPairGeneratorSpi.java45 Object ecParams = null; field in class:KeyPairGeneratorSpi.EC
98 ECGenParameterSpec ecParams = (ECGenParameterSpec)ecParameters.get(Integers.valueOf(strength));
99 if (ecParams == null)
106 initialize(ecParams, random);
132 this.ecParams = null;
137 this.ecParams = params;
142 this.ecParams = params;
173 if (ecParams instanceof ECParameterSpec)
175 ECParameterSpec p = (ECParameterSpec)ecParams;
181 else if (ecParams
[all...]
/external/wycheproof/java/com/google/security/wycheproof/testcases/
H A DEcKeyTest.java166 void testKeyGeneration(ECParameterSpec ecParams, boolean isStandard) throws Exception { argument
170 keyGen.initialize(ecParams);
183 assertTrue(s.bitLength() >= EcUtil.fieldSizeInBits(ecParams.getCurve()) - 32);
H A DEcdsaTest.java721 public void testBias(String algorithm, String curve, ECParameterSpec ecParams) throws Exception { argument
724 keyGen.initialize(ecParams);
813 public void testTiming(String algorithm, String curve, ECParameterSpec ecParams) argument
824 keyGen.initialize(ecParams);
/external/wycheproof/java/com/google/security/wycheproof/
H A DEcUtil.java257 * Returns the modulus of the field used by the curve specified in ecParams.
342 * @param ecParams contains the curve of the point. This must be over a prime order field.
344 public static ECPoint getPoint(BigInteger x, boolean bit0, ECParameterSpec ecParams) argument
346 EllipticCurve ec = ecParams.getCurve();
369 * @param ecParams the specification of the curve. Only Weierstrass curves over prime order fields
372 public static ECPoint decompressPoint(byte[] bytes, ECParameterSpec ecParams) argument
374 EllipticCurve ec = ecParams.getCurve();
410 * in ecParams. This method is used to check ECC implementations for missing step in the
414 * @param ecParams the parameters of the key to attack. This must be a curve in Weierstrass form
418 public static ECPublicKeySpec getWeakPublicKey(ECParameterSpec ecParams) argument
[all...]
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DOpenSSLKey.java132 * @param ecParams EC parameters {@code null} if not available. Some opaque private keys cannot
137 PrivateKey key, ECParameterSpec ecParams) throws InvalidKeyException {
148 return OpenSSLECPrivateKey.wrapJCAPrivateKeyForTLSStackOnly(key, ecParams);
136 fromECPrivateKeyForTLSStackOnly( PrivateKey key, ECParameterSpec ecParams) argument
H A DOpenSSLSocketImpl.java1010 ECParameterSpec ecParams = null;
1012 ecParams = ((ECKey) privateKey).getParams();
1014 if (ecParams == null) {
1016 ecParams =
1020 OpenSSLKey.fromECPrivateKeyForTLSStackOnly(privateKey, ecParams);
H A DOpenSSLEngineImpl.java282 ECParameterSpec ecParams = null;
284 ecParams = ((ECKey) privateKey).getParams();
286 if (ecParams == null) {
288 ecParams =
292 OpenSSLKey.fromECPrivateKeyForTLSStackOnly(privateKey, ecParams);
/external/google-tv-pairing-protocol/java/jar/
H A Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY.DSA META ...

Completed in 682 milliseconds