Home
last modified time | relevance | path

Searched refs:HMAC_Init_ex (Results 1 – 18 of 18) sorted by relevance

/external/boringssl/src/crypto/evp/
Dpbkdf.c75 if (!HMAC_Init_ex(&hctx, password, password_len, digest, NULL)) { in PKCS5_PBKDF2_HMAC()
93 if (!HMAC_Init_ex(&hctx, NULL, 0, NULL, NULL) || in PKCS5_PBKDF2_HMAC()
103 if (!HMAC_Init_ex(&hctx, NULL, 0, NULL, NULL) || in PKCS5_PBKDF2_HMAC()
/external/boringssl/src/crypto/hmac_extra/
Dhmac_test.cc111 HMAC_Init_ex(ctx.get(), key.data(), key.size(), digest, nullptr)); in TEST()
117 ASSERT_TRUE(HMAC_Init_ex(ctx.get(), nullptr, 0, digest, nullptr)); in TEST()
123 ASSERT_TRUE(HMAC_Init_ex(ctx.get(), nullptr, 0, nullptr, nullptr)); in TEST()
Dhmac_tests.txt2 # Note: The empty key results in passing NULL to HMAC_Init_ex, so this tests
/external/boringssl/src/crypto/fipsmodule/hmac/
Dhmac.c73 if (!HMAC_Init_ex(&ctx, key, key_len, evp_md, NULL) || in HMAC()
97 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len, in HMAC_Init_ex() function
200 return HMAC_Init_ex(ctx, key, key_len, md, NULL); in HMAC_Init()
/external/boringssl/src/crypto/hkdf/
Dhkdf.c78 if (!HMAC_Init_ex(&hmac, prk, prk_len, digest, NULL)) { in HKDF_expand()
86 if (i != 0 && (!HMAC_Init_ex(&hmac, NULL, 0, NULL, NULL) || in HKDF_expand()
/external/boringssl/src/include/openssl/
Dhmac.h106 OPENSSL_EXPORT int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len,
/external/boringssl/src/crypto/cipher_extra/
De_tls.c92 !HMAC_Init_ex(&tls_ctx->hmac_ctx, key, mac_key_len, md, NULL)) { in aead_tls_init()
149 if (!HMAC_Init_ex(&tls_ctx->hmac_ctx, NULL, 0, NULL, NULL) || in aead_tls_seal_scatter()
339 if (!HMAC_Init_ex(&tls_ctx->hmac_ctx, NULL, 0, NULL, NULL) || in aead_tls_open()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLMac.java90 NativeCrypto.HMAC_Init_ex(ctxLocal, keyBytes, evp_md); in resetContext()
DNativeCrypto.java306 static native void HMAC_Init_ex(NativeRef.HMAC_CTX ctx, byte[] key, long evp_md); in HMAC_Init_ex() method in NativeCrypto
/external/boringssl/src/ssl/
Dt1_enc.cc172 if (!HMAC_Init_ex(&ctx_init, secret, secret_len, md, NULL) || in tls1_P_hash()
Dssl_session.cc625 !HMAC_Init_ex(hctx.get(), tctx->tlsext_tick_hmac_key, 16, in ssl_encrypt_ticket_with_cipher_ctx()
Dt1_lib.cc3076 if (!HMAC_Init_ex(hmac_ctx.get(), ssl_ctx->tlsext_tick_hmac_key, in ssl_decrypt_ticket_with_cipher_ctx()
Dssl_test.cc2199 if (!HMAC_Init_ex(hmac_ctx, kZeros, sizeof(kZeros), EVP_sha256(), NULL) || in RenewTicketCallback()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c889 if (HMAC_Init_ex(ctx->ctx, key, key_len, md, NULL) != 1) { in crypto_hash_init()
950 res = HMAC_Init_ex(ctx, key, key_len, type, NULL); in openssl_hmac_vector()
/external/python/cpython2/Modules/
D_hashopenssl.c603 if (!HMAC_Init_ex(&hctx_tpl, pass, passlen, digest, NULL)) { in PKCS5_PBKDF2_HMAC_fast()
/external/boringssl/src/ssl/test/
Dbssl_shim.cc905 if (!HMAC_Init_ex(hmac_ctx, kZeros, sizeof(kZeros), EVP_sha256(), NULL) || in TicketKeyCallback()
/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp3349 if (!HMAC_Init_ex(hmacCtx, keyPtr, keyBytes.size(), md, nullptr)) { in NativeCrypto_HMAC_Init_ex()
9460 CONSCRYPT_NATIVE_METHOD(NativeCrypto, HMAC_Init_ex, "(" REF_HMAC_CTX "[BJ)V"),
/external/curl/
Dconfigure.ac1510 AC_CHECK_LIB(crypto, HMAC_Init_ex,[