Home
last modified time | relevance | path

Searched refs:evpMdRef (Results 1 – 4 of 4) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DEvpMdRef.java89 static String getJcaDigestAlgorithmStandardNameFromEVP_MD(long evpMdRef) { in getJcaDigestAlgorithmStandardNameFromEVP_MD() argument
90 if (evpMdRef == MD5.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
92 } else if (evpMdRef == SHA1.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
94 } else if (evpMdRef == SHA224.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
96 } else if (evpMdRef == SHA256.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
98 } else if (evpMdRef == SHA384.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
100 } else if (evpMdRef == SHA512.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
DOpenSSLSignature.java62 private final long evpMdRef; field in OpenSSLSignature
84 private OpenSSLSignature(long evpMdRef, EngineType engineType) { in OpenSSLSignature() argument
86 this.evpMdRef = evpMdRef; in OpenSSLSignature()
92 evpPkeyCtx = NativeCrypto.EVP_DigestSignInit(ctxLocal, evpMdRef, key.getNativeRef()); in resetContext()
94 evpPkeyCtx = NativeCrypto.EVP_DigestVerifyInit(ctxLocal, evpMdRef, key.getNativeRef()); in resetContext()
277 RSAPKCS1Padding(long evpMdRef) { in RSAPKCS1Padding() argument
278 super(evpMdRef, EngineType.RSA); in RSAPKCS1Padding()
DNativeCrypto.java205 NativeRef.EVP_MD_CTX ctx, long evpMdRef, NativeRef.EVP_PKEY key); in EVP_DigestSignInit() argument
208 NativeRef.EVP_MD_CTX ctx, long evpMdRef, NativeRef.EVP_PKEY key); in EVP_DigestVerifyInit() argument
243 static native void EVP_PKEY_CTX_set_rsa_mgf1_md(long ctx, long evpMdRef) in EVP_PKEY_CTX_set_rsa_mgf1_md() argument
246 static native void EVP_PKEY_CTX_set_rsa_oaep_md(long ctx, long evpMdRef) in EVP_PKEY_CTX_set_rsa_oaep_md() argument
/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp2291 jlong evpMdRef) { in NativeCrypto_EVP_DigestInit_ex() argument
2293 const EVP_MD* evp_md = reinterpret_cast<const EVP_MD*>(evpMdRef); in NativeCrypto_EVP_DigestInit_ex()
2362 static jint NativeCrypto_EVP_MD_size(JNIEnv* env, jclass, jlong evpMdRef) { in NativeCrypto_EVP_MD_size() argument
2363 EVP_MD* evp_md = reinterpret_cast<EVP_MD*>(evpMdRef); in NativeCrypto_EVP_MD_size()
2380 jobject evpMdCtxRef, jlong evpMdRef, jobject pkeyRef) { in evpDigestSignVerifyInit() argument
2386 const EVP_MD* md = reinterpret_cast<const EVP_MD*>(evpMdRef); 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()
[all …]