Searched refs:mbedtls_md_hmac_reset (Results 1 – 21 of 21) sorted by relevance
310 if ((ret = mbedtls_md_hmac_reset(ctx)) != 0) { in pkcs5_pbkdf2_hmac()327 if ((ret = mbedtls_md_hmac_reset(ctx)) != 0) { in pkcs5_pbkdf2_hmac()
55 if ((ret = mbedtls_md_hmac_reset(&ctx->md_ctx)) != 0) { in mbedtls_hmac_drbg_update()349 if ((ret = mbedtls_md_hmac_reset(&ctx->md_ctx)) != 0) { in mbedtls_hmac_drbg_random_with_add()
168 if (mbedtls_md_hmac_reset(hmac_ctx) != 0 || in ssl_cookie_hmac()
266 MD_CHK(mbedtls_md_hmac_reset(ctx)); in mbedtls_ct_hmac()1089 ret = mbedtls_md_hmac_reset(&transform->md_ctx_enc); in mbedtls_ssl_encrypt_buf()1434 ret = mbedtls_md_hmac_reset(&transform->md_ctx_enc); in mbedtls_ssl_encrypt_buf()1784 ret = mbedtls_md_hmac_reset(&transform->md_ctx_dec); in mbedtls_ssl_decrypt_buf()
1055 int mbedtls_md_hmac_reset(mbedtls_md_context_t *ctx) in mbedtls_md_hmac_reset() function
6882 ret = mbedtls_md_hmac_reset(&md_ctx); in tls_prf_generic()6895 ret = mbedtls_md_hmac_reset(&md_ctx); in tls_prf_generic()
306 if ((ret = mbedtls_md_hmac_reset(ctx)) != 0) { in pkcs5_pbkdf2_hmac()323 if ((ret = mbedtls_md_hmac_reset(ctx)) != 0) { in pkcs5_pbkdf2_hmac()
266 MD_CHK(mbedtls_md_hmac_reset(ctx)); in mbedtls_ct_hmac()1091 ret = mbedtls_md_hmac_reset(&transform->md_ctx_enc); in mbedtls_ssl_encrypt_buf()1438 ret = mbedtls_md_hmac_reset(&transform->md_ctx_enc); in mbedtls_ssl_encrypt_buf()1789 ret = mbedtls_md_hmac_reset(&transform->md_ctx_dec); in mbedtls_ssl_decrypt_buf()
6205 ret = mbedtls_md_hmac_reset(&md_ctx); in tls_prf_generic()6218 ret = mbedtls_md_hmac_reset(&md_ctx); in tls_prf_generic()
142 TEST_EQUAL(mbedtls_md_hmac_reset(NULL), MBEDTLS_ERR_MD_BAD_INPUT_DATA);143 TEST_EQUAL(mbedtls_md_hmac_reset(&ctx), MBEDTLS_ERR_MD_BAD_INPUT_DATA);392 TEST_EQUAL(0, mbedtls_md_hmac_reset(&ctx));
133 TEST_EQUAL(0, mbedtls_md_hmac_reset(&ref_ctx));
134 TEST_EQUAL(0, mbedtls_md_hmac_reset(&ref_ctx));
113 CHK(mbedtls_md_hmac_reset(&ctx)); // prepare for new operation in hmac_demo()
493 int mbedtls_md_hmac_reset(mbedtls_md_context_t *ctx);
607 int mbedtls_md_hmac_reset(mbedtls_md_context_t *ctx);
590 The equivalent of `mbedtls_md_reset`, `mbedtls_md_hmac_reset` or `mbedtls_cmac_reset` is to call [`…