Home
last modified time | relevance | path

Searched refs:groupRef (Results 1 – 3 of 3) sorted by relevance

/external/conscrypt/src/main/java/org/conscrypt/
DNativeCrypto.java213 public static native long EVP_PKEY_new_EC_KEY(long groupRef, long pubkeyRef, byte[] privkey); in EVP_PKEY_new_EC_KEY() argument
219 public static native long EC_GROUP_dup(long groupRef); in EC_GROUP_dup() argument
221 public static native void EC_GROUP_set_asn1_flag(long groupRef, int flag); in EC_GROUP_set_asn1_flag() argument
223 public static native void EC_GROUP_set_point_conversion_form(long groupRef, int form); in EC_GROUP_set_point_conversion_form() argument
225 public static native String EC_GROUP_get_curve_name(long groupRef); in EC_GROUP_get_curve_name() argument
227 public static native byte[][] EC_GROUP_get_curve(long groupRef); in EC_GROUP_get_curve() argument
245 public static native long EC_POINT_new(long groupRef); in EC_POINT_new() argument
249 public static native boolean EC_POINT_cmp(long groupRef, long pointRef1, long pointRef2); in EC_POINT_cmp() argument
256 public static native long EC_KEY_generate_key(long groupRef); in EC_KEY_generate_key() argument
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp2242 static jlong NativeCrypto_EVP_PKEY_new_EC_KEY(JNIEnv* env, jclass, jlong groupRef, in NativeCrypto_EVP_PKEY_new_EC_KEY() argument
2244 const EC_GROUP* group = reinterpret_cast<const EC_GROUP*>(groupRef); in NativeCrypto_EVP_PKEY_new_EC_KEY()
2615 …c jlong NativeCrypto_getECPrivateKeyWrapper(JNIEnv* env, jclass, jobject javaKey, jlong groupRef) { in NativeCrypto_getECPrivateKeyWrapper() argument
2616 const EC_GROUP* group = reinterpret_cast<const EC_GROUP*>(groupRef); in NativeCrypto_getECPrivateKeyWrapper()
3229 static void NativeCrypto_EC_GROUP_set_asn1_flag(JNIEnv* env, jclass, jlong groupRef, in NativeCrypto_EC_GROUP_set_asn1_flag() argument
3232 EC_GROUP* group = reinterpret_cast<EC_GROUP*>(groupRef); in NativeCrypto_EC_GROUP_set_asn1_flag()
3246 jlong groupRef, jint form) in NativeCrypto_EC_GROUP_set_point_conversion_form() argument
3248 EC_GROUP* group = reinterpret_cast<EC_GROUP*>(groupRef); in NativeCrypto_EC_GROUP_set_point_conversion_form()
3305 static jlong NativeCrypto_EC_GROUP_dup(JNIEnv* env, jclass, jlong groupRef) { in NativeCrypto_EC_GROUP_dup() argument
3306 const EC_GROUP* group = reinterpret_cast<const EC_GROUP*>(groupRef); in NativeCrypto_EC_GROUP_dup()
[all …]
/external/conscrypt/src/test/java/org/conscrypt/
DNativeCryptoTest.java3065 long groupRef = NativeCrypto.EC_GROUP_new_by_curve_name("prime256v1"); in test_ECDH_compute_key_null_key_Failure() local
3066 if (groupRef == 0) { in test_ECDH_compute_key_null_key_Failure()
3070 long pkey1Ref = NativeCrypto.EC_KEY_generate_key(groupRef); in test_ECDH_compute_key_null_key_Failure()
3071 long pkey2Ref = NativeCrypto.EC_KEY_generate_key(groupRef); in test_ECDH_compute_key_null_key_Failure()
3101 NativeCrypto.EC_GROUP_clear_free(groupRef); in test_ECDH_compute_key_null_key_Failure()