Home
last modified time | relevance | path

Searched refs:evp_md (Results 1 – 6 of 6) sorted by relevance

/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLMessageDigestJDK.java31 private final long evp_md; field in OpenSSLMessageDigestJDK
46 private OpenSSLMessageDigestJDK(long evp_md, int size) throws NoSuchAlgorithmException { in OpenSSLMessageDigestJDK() argument
47 this.evp_md = evp_md; in OpenSSLMessageDigestJDK()
53 private OpenSSLMessageDigestJDK(long evp_md, int size, NativeRef.EVP_MD_CTX ctx) { in OpenSSLMessageDigestJDK() argument
54 this.evp_md = evp_md; in OpenSSLMessageDigestJDK()
62 NativeCrypto.EVP_DigestInit(ctxLocal, evp_md); in resetContext()
148 return new OpenSSLMessageDigestJDK(evp_md, size, ctxCopy); in clone()
DOpenSSLMac.java35 private final long evp_md; field in OpenSSLMac
57 private OpenSSLMac(long evp_md, int size, int evp_pkey_type) { in OpenSSLMac() argument
58 this.evp_md = evp_md; in OpenSSLMac()
99 NativeCrypto.EVP_DigestSignInit(ctxLocal, evp_md, macKey.getNativeRef()); in resetContext()
DNativeCrypto.java249 public static native int EVP_DigestInit(NativeRef.EVP_MD_CTX ctx, long evp_md); in EVP_DigestInit() argument
260 long evp_md, NativeRef.EVP_PKEY evp_pkey); in EVP_DigestSignInit() argument
/external/boringssl/src/crypto/hmac/
Dhmac.c65 uint8_t *HMAC(const EVP_MD *evp_md, const void *key, size_t key_len, in HMAC() argument
79 if (!HMAC_Init_ex(&ctx, key, key_len, evp_md, NULL) || in HMAC()
/external/boringssl/src/include/openssl/
Dhmac.h79 OPENSSL_EXPORT uint8_t *HMAC(const EVP_MD *evp_md, const void *key,
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp4371 const EVP_MD* evp_md = reinterpret_cast<const EVP_MD*>(evpMdRef); local
4372 JNI_TRACE_MD("%s(%p, %p)", jniName, ctx, evp_md);
4375 JNI_TRACE("%s(%p) => ctx == NULL", jniName, evp_md);
4377 } else if (evp_md == NULL) {
4382 int ok = init_func(ctx, evp_md, NULL);
4386 JNI_TRACE("%s(%p) => threw exception", jniName, evp_md);
4390 JNI_TRACE_MD("%s(%p, %p) => %d", jniName, ctx, evp_md, ok);
4424 const EVP_MD* evp_md = EVP_get_digestbyname(algorithmChars.c_str()); local
4425 if (evp_md == NULL) {
4430 JNI_TRACE("NativeCrypto_EVP_get_digestbyname(%s) => %p", algorithmChars.c_str(), evp_md);
[all …]