Searched refs:evpMdRef (Results 1 – 7 of 7) sorted by relevance
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | EvpMdRef.java | 87 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()
|
D | OpenSSLSignature.java | 63 private final long evpMdRef; field in OpenSSLSignature 85 private OpenSSLSignature(long evpMdRef, EngineType engineType) { in OpenSSLSignature() argument 87 this.evpMdRef = evpMdRef; in OpenSSLSignature() 93 evpPkeyCtx = NativeCrypto.EVP_DigestSignInit(ctxLocal, evpMdRef, key.getNativeRef()); in resetContext() 95 evpPkeyCtx = NativeCrypto.EVP_DigestVerifyInit(ctxLocal, evpMdRef, key.getNativeRef()); in resetContext() 278 RSAPKCS1Padding(long evpMdRef) { in RSAPKCS1Padding() argument 279 super(evpMdRef, EngineType.RSA); in RSAPKCS1Padding()
|
D | NativeCrypto.java | 249 NativeRef.EVP_MD_CTX ctx, long evpMdRef, NativeRef.EVP_PKEY key); in EVP_DigestSignInit() argument 252 NativeRef.EVP_MD_CTX ctx, long evpMdRef, NativeRef.EVP_PKEY key); in EVP_DigestVerifyInit() argument 289 static native void EVP_PKEY_CTX_set_rsa_mgf1_md(long ctx, long evpMdRef) in EVP_PKEY_CTX_set_rsa_mgf1_md() argument 292 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/ |
D | EvpMdRef.java | 91 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()
|
D | OpenSSLSignature.java | 60 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()
|
D | NativeCrypto.java | 237 NativeRef.EVP_MD_CTX ctx, long evpMdRef, NativeRef.EVP_PKEY key); in EVP_DigestSignInit() argument 240 NativeRef.EVP_MD_CTX ctx, long evpMdRef, NativeRef.EVP_PKEY key); in EVP_DigestVerifyInit() argument 277 static native void EVP_PKEY_CTX_set_rsa_mgf1_md(long ctx, long evpMdRef) in EVP_PKEY_CTX_set_rsa_mgf1_md() argument 280 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/ |
D | native_crypto.cc | 2533 jlong evpMdRef) { in NativeCrypto_EVP_DigestInit_ex() argument 2536 const EVP_MD* evp_md = reinterpret_cast<const EVP_MD*>(evpMdRef); in NativeCrypto_EVP_DigestInit_ex() 2604 static jint NativeCrypto_EVP_MD_size(JNIEnv* env, jclass, jlong evpMdRef) { in NativeCrypto_EVP_MD_size() argument 2606 EVP_MD* evp_md = reinterpret_cast<EVP_MD*>(evpMdRef); in NativeCrypto_EVP_MD_size() 2622 const char* jniName, jobject evpMdCtxRef, jlong evpMdRef, in evpDigestSignVerifyInit() argument 2629 const EVP_MD* md = reinterpret_cast<const EVP_MD*>(evpMdRef); in evpDigestSignVerifyInit() 2655 const jlong evpMdRef, jobject pkeyRef) { in NativeCrypto_EVP_DigestSignInit() argument 2658 evpMdRef, pkeyRef); in NativeCrypto_EVP_DigestSignInit() 2662 const jlong evpMdRef, jobject pkeyRef) { in NativeCrypto_EVP_DigestVerifyInit() argument 2665 evpMdRef, pkeyRef); in NativeCrypto_EVP_DigestVerifyInit() [all …]
|