Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/hmac/
Dhmac_test.cc118 if (!HMAC_Init_ex(ctx.get(), key.data(), key.size(), digest, nullptr) || in TestHMAC()
127 if (!HMAC_Init_ex(ctx.get(), nullptr, 0, digest, nullptr) || in TestHMAC()
136 if (!HMAC_Init_ex(ctx.get(), nullptr, 0, nullptr, nullptr)) { in TestHMAC()
Dhmac.c79 if (!HMAC_Init_ex(&ctx, key, key_len, evp_md, NULL) || in HMAC()
103 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len, in HMAC_Init_ex() function
207 return HMAC_Init_ex(ctx, key, key_len, md, NULL); in HMAC_Init()
Dhmac_tests.txt2 # Note: The empty key results in passing NULL to HMAC_Init_ex, so this tests
/external/boringssl/src/crypto/hkdf/
Dhkdf.c55 if (!HMAC_Init_ex(&hmac, prk, prk_len, digest, NULL)) { in HKDF()
63 if (i != 0 && (!HMAC_Init_ex(&hmac, NULL, 0, NULL, NULL) || in HKDF()
/external/boringssl/src/include/openssl/
Dhmac.h105 OPENSSL_EXPORT int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len,
/external/boringssl/src/crypto/evp/
Dpbkdf.c76 if (!HMAC_Init_ex(&hctx_tpl, password, password_len, digest, NULL)) { in PKCS5_PBKDF2_HMAC()
/external/boringssl/src/crypto/cipher/
De_tls.c93 !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()
323 if (!HMAC_Init_ex(&tls_ctx->hmac_ctx, NULL, 0, NULL, NULL) || in aead_tls_open()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLMac.java85 NativeCrypto.HMAC_Init_ex(ctxLocal, keyBytes, evp_md); in resetContext()
DNativeCrypto.java338 public 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.c172 if (!HMAC_Init_ex(&ctx_init, secret, secret_len, md, NULL) || in tls1_P_hash()
Ds3_srvr.c2067 !HMAC_Init_ex(&hctx, tctx->tlsext_tick_hmac_key, 16, tlsext_tick_md(), in ssl3_send_new_session_ticket()
Dt1_lib.c2541 if (!HMAC_Init_ex(&hmac_ctx, ssl_ctx->tlsext_tick_hmac_key, in tls_process_ticket()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c775 if (HMAC_Init_ex(ctx->ctx, key, key_len, md, NULL) != 1) { in crypto_hash_init()
836 res = HMAC_Init_ex(ctx, key, key_len, type, NULL); in openssl_hmac_vector()
/external/boringssl/src/ssl/test/
Dbssl_shim.cc581 if (!HMAC_Init_ex(hmac_ctx, kZeros, sizeof(kZeros), EVP_sha256(), NULL) || in TicketKeyCallback()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp5177 if (!HMAC_Init_ex(hmacCtx, keyPtr, keyBytes.size(), md, nullptr)) {
11153 NATIVE_METHOD(NativeCrypto, HMAC_Init_ex, "(" REF_HMAC_CTX "[BJ)V"),