Home
last modified time | relevance | path

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

12

/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()
114 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len, in HMAC_Init_ex() function
222 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.h113 OPENSSL_EXPORT int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len,
/external/boringssl/src/crypto/cipher_extra/
De_tls.c94 !HMAC_Init_ex(&tls_ctx->hmac_ctx, key, mac_key_len, md, NULL)) { in aead_tls_init()
169 if (!HMAC_Init_ex(&tls_ctx->hmac_ctx, NULL, 0, NULL, NULL) || in aead_tls_seal_scatter()
361 if (!HMAC_Init_ex(&tls_ctx->hmac_ctx, NULL, 0, NULL, NULL) || in aead_tls_open()
/external/boringssl/src/crypto/fipsmodule/tls/
Dkdf.c83 if (!HMAC_Init_ex(&ctx_init, secret, secret_len, md, NULL) || in tls1_P_hash()
/external/tensorflow/tensorflow/core/platform/s3/
Daws_crypto.cc40 HMAC_Init_ex(&ctx, secret.GetUnderlyingData(), in Calculate()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLMac.java88 NativeCrypto.HMAC_Init_ex(ctxLocal, keyBytes, evp_md); in resetContext()
DNativeCrypto.java342 static native void HMAC_Init_ex(NativeRef.HMAC_CTX ctx, byte[] key, long evp_md); in HMAC_Init_ex() method in NativeCrypto
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLMac.java91 NativeCrypto.HMAC_Init_ex(ctxLocal, keyBytes, evp_md); in resetContext()
DNativeCrypto.java357 static native void HMAC_Init_ex(NativeRef.HMAC_CTX ctx, byte[] key, long evp_md); in HMAC_Init_ex() method in NativeCrypto
/external/grpc-grpc/src/core/tsi/alts/crypt/
Daes_gcm.cc193 if (!HMAC_Init_ex(&hmac, kdf_key, kKdfKeyLen, EVP_sha256(), nullptr) || in aes_gcm_derive_aead_key()
205 if (!HMAC_Init_ex(hmac, kdf_key, kKdfKeyLen, EVP_sha256(), nullptr) || in aes_gcm_derive_aead_key()
/external/python/cpython2/Modules/
D_hashopenssl.c603 if (!HMAC_Init_ex(&hctx_tpl, pass, passlen, digest, NULL)) { in PKCS5_PBKDF2_HMAC_fast()
/external/python/cpython3/Modules/
D_hashopenssl.c569 if (!HMAC_Init_ex(&hctx_tpl, pass, passlen, digest, NULL)) { in PKCS5_PBKDF2_HMAC_fast()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1020 if (HMAC_Init_ex(ctx->ctx, key, key_len, md, NULL) != 1) { in crypto_hash_init()
1084 res = HMAC_Init_ex(ctx, key, key_len, type, NULL); in openssl_hmac_vector()
/external/boringssl/src/ssl/
Dssl_session.cc495 !HMAC_Init_ex(hctx.get(), tctx->ticket_key_current->hmac_key, 16, in ssl_encrypt_ticket_with_cipher_ctx()
Dt1_lib.cc3541 if (!HMAC_Init_ex(hmac_ctx.get(), key->hmac_key, sizeof(key->hmac_key), in ssl_decrypt_ticket_with_ticket_keys()
Dssl_test.cc2259 if (!HMAC_Init_ex(hmac_ctx, kZeros, sizeof(kZeros), EVP_sha256(), NULL) || in RenewTicketCallback()
/external/grpc-grpc/src/objective-c/
Dgrpc_shadow_boringssl_symbol_list1044 HMAC_Init_ex
DBoringSSL-GRPC.podspec2596 '#define HMAC_Init_ex GRPC_SHADOW_HMAC_Init_ex',
/external/boringssl/src/ssl/test/
Dtest_config.cc539 if (!HMAC_Init_ex(hmac_ctx, kZeros, sizeof(kZeros), EVP_sha256(), NULL) || in TicketKeyCallback()
/external/grpc-grpc/src/core/tsi/
Dgrpc_shadow_boringssl.h1072 #define HMAC_Init_ex GRPC_SHADOW_HMAC_Init_ex macro
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc3644 if (!HMAC_Init_ex(hmacCtx, keyPtr, keyBytes.size(), md, nullptr)) { in NativeCrypto_HMAC_Init_ex()
10021 CONSCRYPT_NATIVE_METHOD(HMAC_Init_ex, "(" REF_HMAC_CTX "[BJ)V"),

12