Home
last modified time | relevance | path

Searched refs:OpenSSLECGroupContext (Results 1 – 8 of 8) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLECPrivateKey.java44 protected transient OpenSSLECGroupContext group;
46 OpenSSLECPrivateKey(OpenSSLECGroupContext group, OpenSSLKey key) { in OpenSSLECPrivateKey()
52 this.group = new OpenSSLECGroupContext(new NativeRef.EC_GROUP( in OpenSSLECPrivateKey()
59 group = OpenSSLECGroupContext.getInstance(ecKeySpec.getParams()); in OpenSSLECPrivateKey()
69 OpenSSLECGroupContext group; in wrapPlatformKey()
71 group = OpenSSLECGroupContext.getInstance(ecPrivateKey.getParams()); in wrapPlatformKey()
114 OpenSSLECGroupContext group; in wrapJCAPrivateKeyForTLSStackOnly()
116 group = OpenSSLECGroupContext.getInstance(params); in wrapJCAPrivateKeyForTLSStackOnly()
126 OpenSSLECGroupContext group) throws InvalidKeyException { in wrapPlatformKey()
133 OpenSSLECGroupContext group = OpenSSLECGroupContext.getInstance(ecPrivateKey in getInstance()
[all …]
DOpenSSLECKeyPairGenerator.java54 private OpenSSLECGroupContext group;
64 group = OpenSSLECGroupContext.getCurveByName(curveName); in generateKeyPair()
86 final OpenSSLECGroupContext possibleGroup = OpenSSLECGroupContext.getCurveByName(name); in initialize()
100 group = OpenSSLECGroupContext.getInstance(ecParam); in initialize()
110 final OpenSSLECGroupContext possibleGroup = OpenSSLECGroupContext in initialize()
127 if (OpenSSLECGroupContext.getCurveByName(curveName) == null) { in assertCurvesAreValid()
DOpenSSLECGroupContext.java31 final class OpenSSLECGroupContext { class
34 OpenSSLECGroupContext(NativeRef.EC_GROUP groupCtx) { in OpenSSLECGroupContext() method in OpenSSLECGroupContext
38 static OpenSSLECGroupContext getCurveByName(String curveName) { in getCurveByName()
51 return new OpenSSLECGroupContext(groupRef); in getCurveByName()
69 static OpenSSLECGroupContext getInstance(ECParameterSpec params) in getInstance()
73 return OpenSSLECGroupContext.getCurveByName(curveName); in getInstance()
131 return OpenSSLECGroupContext.getCurveByName(curveName); in getInstance()
154 return new OpenSSLECGroupContext(groupRef); in getInstance()
DOpenSSLECPublicKey.java40 protected transient OpenSSLECGroupContext group;
42 OpenSSLECPublicKey(OpenSSLECGroupContext group, OpenSSLKey key) { in OpenSSLECPublicKey()
48 this.group = new OpenSSLECGroupContext(new NativeRef.EC_GROUP( in OpenSSLECPublicKey()
55 group = OpenSSLECGroupContext.getInstance(ecKeySpec.getParams()); in OpenSSLECPublicKey()
67 OpenSSLECGroupContext group = OpenSSLECGroupContext in getInstance()
160 group = new OpenSSLECGroupContext(new NativeRef.EC_GROUP( in readObject()
DOpenSSLECPointContext.java23 private final OpenSSLECGroupContext group;
26 OpenSSLECPointContext(OpenSSLECGroupContext group, NativeRef.EC_POINT pointCtx) { in OpenSSLECPointContext()
54 static OpenSSLECPointContext getInstance(OpenSSLECGroupContext group, in getInstance()
DConscryptFileDescriptorSocket.java827 OpenSSLECGroupContext.getCurveByName("prime256v1").getECParameterSpec(); in setChannelIdPrivateKey()
DConscryptEngine.java302 OpenSSLECGroupContext.getCurveByName("prime256v1").getECParameterSpec(); in setChannelIdPrivateKey()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java196 OpenSSLECGroupContext openSslSpec = OpenSSLECGroupContext.getCurveByName("prime256v1"); in initChannelIdKey()