Home
last modified time | relevance | path

Searched refs:groupCtx (Results 1 – 2 of 2) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLECGroupContext.java32 private final NativeRef.EC_GROUP groupCtx; field in OpenSSLECGroupContext
34 OpenSSLECGroupContext(NativeRef.EC_GROUP groupCtx) { in OpenSSLECGroupContext() argument
35 this.groupCtx = groupCtx; in OpenSSLECGroupContext()
66 return groupCtx; in getNativeRef()
158 final String curveName = NativeCrypto.EC_GROUP_get_curve_name(groupCtx); in getECParameterSpec()
160 final byte[][] curveParams = NativeCrypto.EC_GROUP_get_curve(groupCtx); in getECParameterSpec()
170 new NativeRef.EC_POINT(NativeCrypto.EC_GROUP_get_generator(groupCtx))); in getECParameterSpec()
173 final BigInteger order = new BigInteger(NativeCrypto.EC_GROUP_get_order(groupCtx)); in getECParameterSpec()
174 final BigInteger cofactor = new BigInteger(NativeCrypto.EC_GROUP_get_cofactor(groupCtx)); in getECParameterSpec()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java2680 final long groupCtx = NativeCrypto.EC_GROUP_new_by_curve_name("prime256v1"); in test_get_RSA_private_params() local
2681 assertFalse(groupCtx == NULL); in test_get_RSA_private_params()
2682 NativeRef.EC_GROUP group = new NativeRef.EC_GROUP(groupCtx); in test_get_RSA_private_params()
2695 final long groupCtx = NativeCrypto.EC_GROUP_new_by_curve_name("prime256v1"); in test_get_RSA_public_params() local
2696 assertFalse(groupCtx == NULL); in test_get_RSA_public_params()
2697 NativeRef.EC_GROUP group = new NativeRef.EC_GROUP(groupCtx); in test_get_RSA_public_params()
2823 final long groupCtx = NativeCrypto.EC_GROUP_new_by_curve_name("prime256v1"); in test_ECDH_compute_key_null_key_Failure() local
2824 assertFalse(groupCtx == NULL); in test_ECDH_compute_key_null_key_Failure()
2825 NativeRef.EC_GROUP groupRef = new NativeRef.EC_GROUP(groupCtx); in test_ECDH_compute_key_null_key_Failure()
2900 final long groupCtx = NativeCrypto.EC_GROUP_new_by_curve_name("prime256v1"); in test_OpenSSLKey_toJava() local
[all …]