Home
last modified time | relevance | path

Searched refs:mbedtls_md_hmac_finish (Results 1 – 13 of 13) sorted by relevance

/mbedtls-3.6.0/programs/hash/
Dmd_hmac_demo.c109 CHK(mbedtls_md_hmac_finish(&ctx, out)); in hmac_demo()
116 CHK(mbedtls_md_hmac_finish(&ctx, out)); in hmac_demo()
/mbedtls-3.6.0/library/
Dhmac_drbg.c72 if ((ret = mbedtls_md_hmac_finish(&ctx->md_ctx, K)) != 0) { in mbedtls_hmac_drbg_update()
84 if ((ret = mbedtls_md_hmac_finish(&ctx->md_ctx, ctx->V)) != 0) { in mbedtls_hmac_drbg_update()
356 if ((ret = mbedtls_md_hmac_finish(&ctx->md_ctx, ctx->V)) != 0) { in mbedtls_hmac_drbg_random_with_add()
Dpkcs5.c302 if ((ret = mbedtls_md_hmac_finish(ctx, work)) != 0) { in pkcs5_pbkdf2_hmac()
319 if ((ret = mbedtls_md_hmac_finish(ctx, md1)) != 0) { in pkcs5_pbkdf2_hmac()
Dhkdf.c143 ret = mbedtls_md_hmac_finish(&ctx, t); in mbedtls_hkdf_expand()
Dmd.c1026 int mbedtls_md_hmac_finish(mbedtls_md_context_t *ctx, unsigned char *output) in mbedtls_md_hmac_finish() function
1096 if ((ret = mbedtls_md_hmac_finish(&ctx, output)) != 0) { in mbedtls_md_hmac()
Dssl_cookie.c171 mbedtls_md_hmac_finish(hmac_ctx, hmac_out) != 0) { in ssl_cookie_hmac()
Dssl_msg.c1087 ret = mbedtls_md_hmac_finish(&transform->md_ctx_enc, mac); in mbedtls_ssl_encrypt_buf()
1434 ret = mbedtls_md_hmac_finish(&transform->md_ctx_enc, mac); in mbedtls_ssl_encrypt_buf()
1785 ret = mbedtls_md_hmac_finish(&transform->md_ctx_dec, mac_expect); in mbedtls_ssl_decrypt_buf()
Dssl_tls.c6199 ret = mbedtls_md_hmac_finish(&md_ctx, tmp); in tls_prf_generic()
6213 ret = mbedtls_md_hmac_finish(&md_ctx, h_i); in tls_prf_generic()
6226 ret = mbedtls_md_hmac_finish(&md_ctx, tmp); in tls_prf_generic()
/mbedtls-3.6.0/tests/suites/
Dtest_suite_md.function139 TEST_EQUAL(mbedtls_md_hmac_finish(NULL, buf), MBEDTLS_ERR_MD_BAD_INPUT_DATA);
140 TEST_EQUAL(mbedtls_md_hmac_finish(&ctx, buf), MBEDTLS_ERR_MD_BAD_INPUT_DATA);
385 TEST_EQUAL(0, mbedtls_md_hmac_finish(&ctx, output));
395 TEST_EQUAL(0, mbedtls_md_hmac_finish(&ctx, output));
Dtest_suite_constant_time_hmac.function132 TEST_EQUAL(0, mbedtls_md_hmac_finish(&ref_ctx, ref_out));
/mbedtls-3.6.0/programs/aes/
Dcrypt_and_hash.c368 if (mbedtls_md_hmac_finish(&md_ctx, digest) != 0) { in main()
509 if (mbedtls_md_hmac_finish(&md_ctx, digest) != 0) { in main()
/mbedtls-3.6.0/include/mbedtls/
Dmd.h589 int mbedtls_md_hmac_finish(mbedtls_md_context_t *ctx, unsigned char *output);
/mbedtls-3.6.0/tests/src/test_helpers/
Dssl_helpers.c1501 TEST_EQUAL(0, mbedtls_md_hmac_finish(&transform_out->md_ctx_enc, mac)); in mbedtls_test_ssl_prepare_record_mac()