Home
last modified time | relevance | path

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

/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DEvpMdRef.java87 static String getJcaDigestAlgorithmStandardNameFromEVP_MD(long evpMdRef) { in getJcaDigestAlgorithmStandardNameFromEVP_MD() argument
88 if (evpMdRef == MD5.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
90 } else if (evpMdRef == SHA1.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
92 } else if (evpMdRef == SHA224.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
94 } else if (evpMdRef == SHA256.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
96 } else if (evpMdRef == SHA384.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
98 } 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.java253 NativeRef.EVP_MD_CTX ctx, long evpMdRef, NativeRef.EVP_PKEY key); in EVP_DigestSignInit() argument
256 NativeRef.EVP_MD_CTX ctx, long evpMdRef, NativeRef.EVP_PKEY key); in EVP_DigestVerifyInit() argument
293 static native void EVP_PKEY_CTX_set_rsa_mgf1_md(long ctx, long evpMdRef) in EVP_PKEY_CTX_set_rsa_mgf1_md() argument
296 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/main/java/org/conscrypt/
DEvpMdRef.java91 static String getJcaDigestAlgorithmStandardNameFromEVP_MD(long evpMdRef) { in getJcaDigestAlgorithmStandardNameFromEVP_MD() argument
92 if (evpMdRef == MD5.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
94 } else if (evpMdRef == SHA1.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
96 } else if (evpMdRef == SHA224.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
98 } else if (evpMdRef == SHA256.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
100 } else if (evpMdRef == SHA384.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
102 } else if (evpMdRef == SHA512.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
DOpenSSLSignature.java60 private final long evpMdRef; field in OpenSSLSignature
82 private OpenSSLSignature(long evpMdRef, EngineType engineType) { in OpenSSLSignature() argument
84 this.evpMdRef = evpMdRef; in OpenSSLSignature()
90 evpPkeyCtx = NativeCrypto.EVP_DigestSignInit(ctxLocal, evpMdRef, key.getNativeRef()); in resetContext()
92 evpPkeyCtx = NativeCrypto.EVP_DigestVerifyInit(ctxLocal, evpMdRef, key.getNativeRef()); in resetContext()
275 RSAPKCS1Padding(long evpMdRef) { in RSAPKCS1Padding() argument
276 super(evpMdRef, EngineType.RSA); in RSAPKCS1Padding()
DNativeCrypto.java244 NativeRef.EVP_MD_CTX ctx, long evpMdRef, NativeRef.EVP_PKEY key); in EVP_DigestSignInit() argument
247 NativeRef.EVP_MD_CTX ctx, long evpMdRef, NativeRef.EVP_PKEY key); in EVP_DigestVerifyInit() argument
284 static native void EVP_PKEY_CTX_set_rsa_mgf1_md(long ctx, long evpMdRef) in EVP_PKEY_CTX_set_rsa_mgf1_md() argument
287 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/conscrypt/
Dnative_crypto.cc2600 jlong evpMdRef) { in NativeCrypto_EVP_DigestInit_ex() argument
2603 const EVP_MD* evp_md = reinterpret_cast<const EVP_MD*>(evpMdRef); in NativeCrypto_EVP_DigestInit_ex()
2671 static jint NativeCrypto_EVP_MD_size(JNIEnv* env, jclass, jlong evpMdRef) { in NativeCrypto_EVP_MD_size() argument
2673 EVP_MD* evp_md = reinterpret_cast<EVP_MD*>(evpMdRef); in NativeCrypto_EVP_MD_size()
2689 const char* jniName, jobject evpMdCtxRef, jlong evpMdRef, in evpDigestSignVerifyInit() argument
2696 const EVP_MD* md = reinterpret_cast<const EVP_MD*>(evpMdRef); in evpDigestSignVerifyInit()
2722 const jlong evpMdRef, jobject pkeyRef) { in NativeCrypto_EVP_DigestSignInit() argument
2725 evpMdRef, pkeyRef); in NativeCrypto_EVP_DigestSignInit()
2729 const jlong evpMdRef, jobject pkeyRef) { in NativeCrypto_EVP_DigestVerifyInit() argument
2732 evpMdRef, pkeyRef); in NativeCrypto_EVP_DigestVerifyInit()
[all …]