Searched refs:groupRef (Results 1 – 4 of 4) sorted by relevance
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLECGroupContext.java | 49 NativeRef.EC_GROUP groupRef = new NativeRef.EC_GROUP(ctx); in getCurveByName() local 51 return new OpenSSLECGroupContext(groupRef); in getCurveByName() 152 NativeRef.EC_GROUP groupRef = new NativeRef.EC_GROUP(group); in getInstance() local 154 return new OpenSSLECGroupContext(groupRef); in getInstance()
|
D | NativeCrypto.java | 125 NativeRef.EC_GROUP groupRef, NativeRef.EC_POINT pubkeyRef, byte[] privkey); in EVP_PKEY_new_EC_KEY() argument 132 static native String EC_GROUP_get_curve_name(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_curve_name() argument 134 static native byte[][] EC_GROUP_get_curve(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_curve() argument 136 static native void EC_GROUP_clear_free(long groupRef); in EC_GROUP_clear_free() argument 138 static native long EC_GROUP_get_generator(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_generator() argument 140 static native byte[] EC_GROUP_get_order(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_order() argument 142 static native int EC_GROUP_get_degree(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_degree() argument 144 static native byte[] EC_GROUP_get_cofactor(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_cofactor() argument 146 static native long EC_POINT_new(NativeRef.EC_GROUP groupRef); in EC_POINT_new() argument 151 NativeRef.EC_GROUP groupRef, NativeRef.EC_POINT pointRef); in EC_POINT_get_affine_coordinates() argument [all …]
|
/external/conscrypt/common/src/jni/main/cpp/ |
D | NativeCrypto.cpp | 894 static jlong NativeCrypto_EVP_PKEY_new_EC_KEY(JNIEnv* env, jclass, jobject groupRef, in NativeCrypto_EVP_PKEY_new_EC_KEY() argument 896 JNI_TRACE("EVP_PKEY_new_EC_KEY(%p, %p, %p)", groupRef, pubkeyRef, keyJavaBytes); in NativeCrypto_EVP_PKEY_new_EC_KEY() 897 const EC_GROUP* group = fromContextObject<EC_GROUP>(env, groupRef); in NativeCrypto_EVP_PKEY_new_EC_KEY() 1203 jobject groupRef) { in NativeCrypto_getECPrivateKeyWrapper() argument 1204 EC_GROUP* group = fromContextObject<EC_GROUP>(env, groupRef); in NativeCrypto_getECPrivateKeyWrapper() 1598 static jstring NativeCrypto_EC_GROUP_get_curve_name(JNIEnv* env, jclass, jobject groupRef) { in NativeCrypto_EC_GROUP_get_curve_name() argument 1599 const EC_GROUP* group = fromContextObject<EC_GROUP>(env, groupRef); in NativeCrypto_EC_GROUP_get_curve_name() 1618 static jobjectArray NativeCrypto_EC_GROUP_get_curve(JNIEnv* env, jclass, jobject groupRef) in NativeCrypto_EC_GROUP_get_curve() argument 1620 const EC_GROUP* group = fromContextObject<EC_GROUP>(env, groupRef); in NativeCrypto_EC_GROUP_get_curve() 1664 static jbyteArray NativeCrypto_EC_GROUP_get_order(JNIEnv* env, jclass, jobject groupRef) in NativeCrypto_EC_GROUP_get_order() argument [all …]
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | NativeCryptoTest.java | 2751 long groupRef = NativeCrypto.EC_GROUP_new_by_curve_name(name); in check_EC_GROUP() local 2752 assertFalse(groupRef == NULL); in check_EC_GROUP() 2753 NativeRef.EC_GROUP group = new NativeRef.EC_GROUP(groupRef); in check_EC_GROUP() 2825 NativeRef.EC_GROUP groupRef = new NativeRef.EC_GROUP(groupCtx); in test_ECDH_compute_key_null_key_Failure() local 2827 new NativeRef.EVP_PKEY(NativeCrypto.EC_KEY_generate_key(groupRef)); in test_ECDH_compute_key_null_key_Failure() 2829 new NativeRef.EVP_PKEY(NativeCrypto.EC_KEY_generate_key(groupRef)); in test_ECDH_compute_key_null_key_Failure()
|