/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 | 153 NativeRef.EC_GROUP groupRef, NativeRef.EC_POINT pubkeyRef, byte[] privkey); in EVP_PKEY_new_EC_KEY() argument 160 static native String EC_GROUP_get_curve_name(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_curve_name() argument 162 static native byte[][] EC_GROUP_get_curve(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_curve() argument 164 static native void EC_GROUP_clear_free(long groupRef); in EC_GROUP_clear_free() argument 166 static native long EC_GROUP_get_generator(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_generator() argument 168 static native byte[] EC_GROUP_get_order(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_order() argument 170 static native int EC_GROUP_get_degree(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_degree() argument 172 static native byte[] EC_GROUP_get_cofactor(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_cofactor() argument 174 static native long EC_POINT_new(NativeRef.EC_GROUP groupRef); in EC_POINT_new() argument 179 NativeRef.EC_GROUP groupRef, NativeRef.EC_POINT pointRef); in EC_POINT_get_affine_coordinates() argument [all …]
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLECGroupContext.java | 50 NativeRef.EC_GROUP groupRef = new NativeRef.EC_GROUP(ctx); in getCurveByName() local 52 return new OpenSSLECGroupContext(groupRef); in getCurveByName() 153 NativeRef.EC_GROUP groupRef = new NativeRef.EC_GROUP(group); in getInstance() local 155 return new OpenSSLECGroupContext(groupRef); in getInstance()
|
D | NativeCrypto.java | 158 NativeRef.EC_GROUP groupRef, NativeRef.EC_POINT pubkeyRef, byte[] privkey); in EVP_PKEY_new_EC_KEY() argument 166 static native String EC_GROUP_get_curve_name(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_curve_name() argument 168 static native byte[][] EC_GROUP_get_curve(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_curve() argument 171 static native void EC_GROUP_clear_free(long groupRef); in EC_GROUP_clear_free() argument 173 static native long EC_GROUP_get_generator(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_generator() argument 175 static native byte[] EC_GROUP_get_order(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_order() argument 177 static native int EC_GROUP_get_degree(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_degree() argument 179 static native byte[] EC_GROUP_get_cofactor(NativeRef.EC_GROUP groupRef); in EC_GROUP_get_cofactor() argument 181 static native long EC_POINT_new(NativeRef.EC_GROUP groupRef); in EC_POINT_new() argument 187 NativeRef.EC_GROUP groupRef, NativeRef.EC_POINT pointRef); in EC_POINT_get_affine_coordinates() argument [all …]
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 984 static jlong NativeCrypto_EVP_PKEY_new_EC_KEY(JNIEnv* env, jclass, jobject groupRef, in NativeCrypto_EVP_PKEY_new_EC_KEY() argument 987 JNI_TRACE("EVP_PKEY_new_EC_KEY(%p, %p, %p)", groupRef, pubkeyRef, keyJavaBytes); in NativeCrypto_EVP_PKEY_new_EC_KEY() 988 const EC_GROUP* group = fromContextObject<EC_GROUP>(env, groupRef); in NativeCrypto_EVP_PKEY_new_EC_KEY() 1323 jobject groupRef) { in NativeCrypto_getECPrivateKeyWrapper() argument 1325 EC_GROUP* group = fromContextObject<EC_GROUP>(env, groupRef); in NativeCrypto_getECPrivateKeyWrapper() 1769 static jstring NativeCrypto_EC_GROUP_get_curve_name(JNIEnv* env, jclass, jobject groupRef) { in NativeCrypto_EC_GROUP_get_curve_name() argument 1771 const EC_GROUP* group = fromContextObject<EC_GROUP>(env, groupRef); in NativeCrypto_EC_GROUP_get_curve_name() 1790 static jobjectArray NativeCrypto_EC_GROUP_get_curve(JNIEnv* env, jclass, jobject groupRef) { in NativeCrypto_EC_GROUP_get_curve() argument 1792 const EC_GROUP* group = fromContextObject<EC_GROUP>(env, groupRef); in NativeCrypto_EC_GROUP_get_curve() 1836 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 | 2825 long groupRef = NativeCrypto.EC_GROUP_new_by_curve_name(name); in check_EC_GROUP() local 2826 assertFalse(groupRef == NULL); in check_EC_GROUP() 2827 NativeRef.EC_GROUP group = new NativeRef.EC_GROUP(groupRef); in check_EC_GROUP() 2899 NativeRef.EC_GROUP groupRef = new NativeRef.EC_GROUP(groupCtx); in test_ECDH_compute_key_null_key_Failure() local 2901 new NativeRef.EVP_PKEY(NativeCrypto.EC_KEY_generate_key(groupRef)); in test_ECDH_compute_key_null_key_Failure() 2903 new NativeRef.EVP_PKEY(NativeCrypto.EC_KEY_generate_key(groupRef)); in test_ECDH_compute_key_null_key_Failure()
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | NativeCryptoTest.java | 2833 long groupRef = NativeCrypto.EC_GROUP_new_by_curve_name(name); in check_EC_GROUP() local 2834 assertFalse(groupRef == NULL); in check_EC_GROUP() 2835 NativeRef.EC_GROUP group = new NativeRef.EC_GROUP(groupRef); in check_EC_GROUP() 2907 NativeRef.EC_GROUP groupRef = new NativeRef.EC_GROUP(groupCtx); in test_ECDH_compute_key_null_key_Failure() local 2909 new NativeRef.EVP_PKEY(NativeCrypto.EC_KEY_generate_key(groupRef)); in test_ECDH_compute_key_null_key_Failure() 2911 new NativeRef.EVP_PKEY(NativeCrypto.EC_KEY_generate_key(groupRef)); in test_ECDH_compute_key_null_key_Failure()
|