• Home
  • Raw
  • Download

Lines Matching refs:pkeyRef

978 static int NativeCrypto_EVP_PKEY_type(JNIEnv* env, jclass, jobject pkeyRef) {  in NativeCrypto_EVP_PKEY_type()  argument
979 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_EVP_PKEY_type()
993 static jstring evp_print_func(JNIEnv* env, jobject pkeyRef, print_func* func, in evp_print_func() argument
995 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in evp_print_func()
1023 static jstring NativeCrypto_EVP_PKEY_print_public(JNIEnv* env, jclass, jobject pkeyRef) { in NativeCrypto_EVP_PKEY_print_public() argument
1024 return evp_print_func(env, pkeyRef, EVP_PKEY_print_public, "EVP_PKEY_print_public"); in NativeCrypto_EVP_PKEY_print_public()
1027 static jstring NativeCrypto_EVP_PKEY_print_params(JNIEnv* env, jclass, jobject pkeyRef) { in NativeCrypto_EVP_PKEY_print_params() argument
1028 return evp_print_func(env, pkeyRef, EVP_PKEY_print_params, "EVP_PKEY_print_params"); in NativeCrypto_EVP_PKEY_print_params()
1031 static void NativeCrypto_EVP_PKEY_free(JNIEnv*, jclass, jlong pkeyRef) { in NativeCrypto_EVP_PKEY_free() argument
1032 EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(pkeyRef); in NativeCrypto_EVP_PKEY_free()
1062 static jbyteArray NativeCrypto_EVP_marshal_private_key(JNIEnv* env, jclass, jobject pkeyRef) { in NativeCrypto_EVP_marshal_private_key() argument
1063 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_EVP_marshal_private_key()
1114 static jbyteArray NativeCrypto_EVP_marshal_public_key(JNIEnv* env, jclass, jobject pkeyRef) { in NativeCrypto_EVP_marshal_public_key() argument
1115 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_EVP_marshal_public_key()
1290 static jint NativeCrypto_RSA_size(JNIEnv* env, jclass, jobject pkeyRef) { in NativeCrypto_RSA_size() argument
1291 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_RSA_size()
1312 jobject pkeyRef, jint padding) { in RSA_crypt_operation() argument
1313 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in RSA_crypt_operation()
1355 jbyteArray fromJavaBytes, jbyteArray toJavaBytes, jobject pkeyRef, jint padding) { in NativeCrypto_RSA_private_encrypt() argument
1357 env, flen, fromJavaBytes, toJavaBytes, pkeyRef, padding); in NativeCrypto_RSA_private_encrypt()
1360 jbyteArray fromJavaBytes, jbyteArray toJavaBytes, jobject pkeyRef, jint padding) { in NativeCrypto_RSA_public_decrypt() argument
1362 env, flen, fromJavaBytes, toJavaBytes, pkeyRef, padding); in NativeCrypto_RSA_public_decrypt()
1365 jbyteArray fromJavaBytes, jbyteArray toJavaBytes, jobject pkeyRef, jint padding) { in NativeCrypto_RSA_public_encrypt() argument
1367 env, flen, fromJavaBytes, toJavaBytes, pkeyRef, padding); in NativeCrypto_RSA_public_encrypt()
1370 jbyteArray fromJavaBytes, jbyteArray toJavaBytes, jobject pkeyRef, jint padding) { in NativeCrypto_RSA_private_decrypt() argument
1372 env, flen, fromJavaBytes, toJavaBytes, pkeyRef, padding); in NativeCrypto_RSA_private_decrypt()
1378 static jobjectArray NativeCrypto_get_RSA_public_params(JNIEnv* env, jclass, jobject pkeyRef) { in NativeCrypto_get_RSA_public_params() argument
1379 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_get_RSA_public_params()
1415 static jobjectArray NativeCrypto_get_RSA_private_params(JNIEnv* env, jclass, jobject pkeyRef) { in NativeCrypto_get_RSA_private_params() argument
1416 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_get_RSA_private_params()
1939 static jlong NativeCrypto_EC_KEY_get1_group(JNIEnv* env, jclass, jobject pkeyRef) in NativeCrypto_EC_KEY_get1_group() argument
1941 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_EC_KEY_get1_group()
1961 static jbyteArray NativeCrypto_EC_KEY_get_private_key(JNIEnv* env, jclass, jobject pkeyRef) in NativeCrypto_EC_KEY_get_private_key() argument
1963 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_EC_KEY_get_private_key()
1989 static jlong NativeCrypto_EC_KEY_get_public_key(JNIEnv* env, jclass, jobject pkeyRef) in NativeCrypto_EC_KEY_get_public_key() argument
1991 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_EC_KEY_get_public_key()
2092 static jint NativeCrypto_ECDSA_size(JNIEnv* env, jclass, jobject pkeyRef) { in NativeCrypto_ECDSA_size() argument
2093 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_ECDSA_size()
2113 jobject pkeyRef) { in NativeCrypto_ECDSA_sign() argument
2114 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_ECDSA_sign()
2152 jobject pkeyRef) { in NativeCrypto_ECDSA_verify() argument
2153 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_ECDSA_verify()
2380 jobject evpMdCtxRef, jlong evpMdRef, jobject pkeyRef) { in evpDigestSignVerifyInit() argument
2387 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in evpDigestSignVerifyInit()
2412 const jlong evpMdRef, jobject pkeyRef) { in NativeCrypto_EVP_DigestSignInit() argument
2414 env, EVP_DigestSignInit, "EVP_DigestSignInit", evpMdCtxRef, evpMdRef, pkeyRef); in NativeCrypto_EVP_DigestSignInit()
2418 const jlong evpMdRef, jobject pkeyRef) { in NativeCrypto_EVP_DigestVerifyInit() argument
2420 env, EVP_DigestVerifyInit, "EVP_DigestVerifyInit", evpMdCtxRef, evpMdRef, pkeyRef); in NativeCrypto_EVP_DigestVerifyInit()
3795 static void NativeCrypto_X509_verify(JNIEnv* env, jclass, jlong x509Ref, jobject pkeyRef) { in NativeCrypto_X509_verify() argument
3797 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_X509_verify()
4222 static void NativeCrypto_X509_CRL_verify(JNIEnv* env, jclass, jlong x509CrlRef, jobject pkeyRef) { in NativeCrypto_X509_CRL_verify() argument
4224 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_X509_CRL_verify()
6203 jlong ssl_address, jobject pkeyRef) in NativeCrypto_SSL_set1_tls_channel_id() argument
6206 JNI_TRACE("ssl=%p SSL_set1_tls_channel_id privatekey=%p", ssl, pkeyRef); in NativeCrypto_SSL_set1_tls_channel_id()
6211 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_SSL_set1_tls_channel_id()
6232 jobject pkeyRef) { in NativeCrypto_SSL_use_PrivateKey() argument
6234 JNI_TRACE("ssl=%p SSL_use_PrivateKey privatekey=%p", ssl, pkeyRef); in NativeCrypto_SSL_use_PrivateKey()
6239 EVP_PKEY* pkey = fromContextObject<EVP_PKEY>(env, pkeyRef); in NativeCrypto_SSL_use_PrivateKey()