Searched refs:evp_md (Results 1 – 6 of 6) sorted by relevance
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLMessageDigestJDK.java | 35 private final long evp_md; field in OpenSSLMessageDigestJDK 55 private OpenSSLMessageDigestJDK(long evp_md, int size) throws NoSuchAlgorithmException { in OpenSSLMessageDigestJDK() argument 56 this.evp_md = evp_md; in OpenSSLMessageDigestJDK() 62 private OpenSSLMessageDigestJDK(long evp_md, int size, NativeRef.EVP_MD_CTX ctx, in OpenSSLMessageDigestJDK() argument 64 this.evp_md = evp_md; in OpenSSLMessageDigestJDK() 73 NativeCrypto.EVP_DigestInit_ex(ctxLocal, evp_md); in ensureDigestInitializedInContext() 204 return new OpenSSLMessageDigestJDK(evp_md, size, ctxCopy, digestInitializedInContext); in clone()
|
D | OpenSSLMac.java | 41 private final long evp_md; field in OpenSSLMac 58 private OpenSSLMac(long evp_md, int size) { in OpenSSLMac() argument 59 this.evp_md = evp_md; in OpenSSLMac() 90 NativeCrypto.HMAC_Init_ex(ctxLocal, keyBytes, evp_md); in resetContext()
|
D | NativeCrypto.java | 225 static native int EVP_DigestInit_ex(NativeRef.EVP_MD_CTX ctx, long evp_md); in EVP_DigestInit_ex() argument 342 static native void HMAC_Init_ex(NativeRef.HMAC_CTX ctx, byte[] key, long evp_md); in HMAC_Init_ex() argument
|
/external/boringssl/src/crypto/fipsmodule/hmac/ |
D | hmac.c | 68 uint8_t *HMAC(const EVP_MD *evp_md, const void *key, size_t key_len, in HMAC() argument 73 if (!HMAC_Init_ex(&ctx, key, key_len, evp_md, NULL) || in HMAC()
|
/external/boringssl/src/include/openssl/ |
D | hmac.h | 80 OPENSSL_EXPORT uint8_t *HMAC(const EVP_MD *evp_md, const void *key,
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 2494 const EVP_MD* evp_md = reinterpret_cast<const EVP_MD*>(evpMdRef); in NativeCrypto_EVP_DigestInit_ex() local 2495 JNI_TRACE_MD("EVP_DigestInit_ex(%p, %p)", ctx, evp_md); in NativeCrypto_EVP_DigestInit_ex() 2498 JNI_TRACE("EVP_DigestInit_ex(%p) => ctx == null", evp_md); in NativeCrypto_EVP_DigestInit_ex() 2500 } else if (evp_md == nullptr) { in NativeCrypto_EVP_DigestInit_ex() 2505 int ok = EVP_DigestInit_ex(ctx, evp_md, nullptr); in NativeCrypto_EVP_DigestInit_ex() 2509 JNI_TRACE("EVP_DigestInit_ex(%p) => threw exception", evp_md); in NativeCrypto_EVP_DigestInit_ex() 2513 JNI_TRACE_MD("EVP_DigestInit_ex(%p, %p) => %d", ctx, evp_md, ok); in NativeCrypto_EVP_DigestInit_ex() 2566 EVP_MD* evp_md = reinterpret_cast<EVP_MD*>(evpMdRef); in NativeCrypto_EVP_MD_size() local 2567 JNI_TRACE("NativeCrypto_EVP_MD_size(%p)", evp_md); in NativeCrypto_EVP_MD_size() 2569 if (evp_md == nullptr) { in NativeCrypto_EVP_MD_size() [all …]
|