Home
last modified time | relevance | path

Searched refs:ecParams (Results 1 – 4 of 4) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyPairGeneratorSpi.java44 Object ecParams = null; field in KeyPairGeneratorSpi.EC
94 … ECGenParameterSpec ecParams = (ECGenParameterSpec)ecParameters.get(Integers.valueOf(strength)); in initialize() local
96 if (ecParams != null) in initialize()
100 initialize(ecParams, random); in initialize()
126 this.ecParams = params; in initialize()
136 this.ecParams = params; in initialize()
178 this.ecParams = new ECNamedCurveSpec( in initialize()
186 java.security.spec.ECParameterSpec p = (java.security.spec.ECParameterSpec)ecParams; in initialize()
199 this.ecParams = params; in initialize()
227 if (ecParams instanceof ECParameterSpec) in generateKeyPair()
[all …]
/external/chromium_org/net/third_party/nss/ssl/
Dderive.c621 SECKEYECParams ecParams = { siBuffer, NULL, 0 }; in SSL_CanBypass()
800 rv = ssl3_ECName2Params(NULL, ec_curve, &ecParams); in SSL_CanBypass()
804 pecParams = &ecParams; in SSL_CanBypass()
858 if (ecParams.data != NULL) { in SSL_CanBypass()
859 PORT_Free(ecParams.data); in SSL_CanBypass()
860 ecParams.data = NULL; in SSL_CanBypass()
881 if (ecParams.data != NULL) { in SSL_CanBypass()
882 PORT_Free(ecParams.data); in SSL_CanBypass()
883 ecParams.data = NULL; in SSL_CanBypass()
Dssl3ecc.c522 SECKEYECParams ecParams = { siBuffer, NULL, 0 }; in ssl3_CreateECDHEphemeralKeyPair() local
527 if (ssl3_ECName2Params(NULL, ec_curve, &ecParams) != SECSuccess) { in ssl3_CreateECDHEphemeralKeyPair()
532 privKey = SECKEY_CreateECPrivateKey(&ecParams, &pubKey, NULL); in ssl3_CreateECDHEphemeralKeyPair()
533 SECITEM_FreeItem(&ecParams, PR_FALSE); in ssl3_CreateECDHEphemeralKeyPair()
/external/bouncycastle/patches/
Dbcprov.patch2216 … ECGenParameterSpec ecParams = (ECGenParameterSpec)ecParameters.get(Integers.valueOf(strength));
2218 if (ecParams != null)