Searched refs:mbedtls_md_hmac_finish (Results 1 – 13 of 13) sorted by relevance
/mbedtls-3.6.0/programs/hash/ |
D | md_hmac_demo.c | 109 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/ |
D | hmac_drbg.c | 72 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()
|
D | pkcs5.c | 302 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()
|
D | hkdf.c | 143 ret = mbedtls_md_hmac_finish(&ctx, t); in mbedtls_hkdf_expand()
|
D | md.c | 1026 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()
|
D | ssl_cookie.c | 171 mbedtls_md_hmac_finish(hmac_ctx, hmac_out) != 0) { in ssl_cookie_hmac()
|
D | ssl_msg.c | 1087 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()
|
D | ssl_tls.c | 6199 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/ |
D | test_suite_md.function | 139 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));
|
D | test_suite_constant_time_hmac.function | 132 TEST_EQUAL(0, mbedtls_md_hmac_finish(&ref_ctx, ref_out));
|
/mbedtls-3.6.0/programs/aes/ |
D | crypt_and_hash.c | 368 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/ |
D | md.h | 589 int mbedtls_md_hmac_finish(mbedtls_md_context_t *ctx, unsigned char *output);
|
/mbedtls-3.6.0/tests/src/test_helpers/ |
D | ssl_helpers.c | 1501 TEST_EQUAL(0, mbedtls_md_hmac_finish(&transform_out->md_ctx_enc, mac)); in mbedtls_test_ssl_prepare_record_mac()
|