Home
last modified time | relevance | path

Searched refs:mbedtls_md_hmac_reset (Results 1 – 21 of 21) sorted by relevance

/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A Dpkcs5.c310 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()
H A Dhmac_drbg.c55 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()
H A Dssl_cookie.c168 if (mbedtls_md_hmac_reset(hmac_ctx) != 0 || in ssl_cookie_hmac()
H A Dssl_msg.c266 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()
H A Dmd.c1055 int mbedtls_md_hmac_reset(mbedtls_md_context_t *ctx) in mbedtls_md_hmac_reset() function
H A Dssl_tls.c6882 ret = mbedtls_md_hmac_reset(&md_ctx); in tls_prf_generic()
6895 ret = mbedtls_md_hmac_reset(&md_ctx); in tls_prf_generic()
/aosp_15_r20/external/mbedtls/library/
H A Dpkcs5.c306 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()
H A Dhmac_drbg.c55 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()
H A Dssl_cookie.c168 if (mbedtls_md_hmac_reset(hmac_ctx) != 0 || in ssl_cookie_hmac()
H A Dssl_msg.c266 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()
H A Dmd.c1055 int mbedtls_md_hmac_reset(mbedtls_md_context_t *ctx) in mbedtls_md_hmac_reset() function
H A Dssl_tls.c6205 ret = mbedtls_md_hmac_reset(&md_ctx); in tls_prf_generic()
6218 ret = mbedtls_md_hmac_reset(&md_ctx); in tls_prf_generic()
/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_md.function142 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));
H A Dtest_suite_constant_time_hmac.function133 TEST_EQUAL(0, mbedtls_md_hmac_reset(&ref_ctx));
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A Dtest_suite_md.function142 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));
H A Dtest_suite_constant_time_hmac.function134 TEST_EQUAL(0, mbedtls_md_hmac_reset(&ref_ctx));
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/hash/
H A Dmd_hmac_demo.c113 CHK(mbedtls_md_hmac_reset(&ctx)); // prepare for new operation in hmac_demo()
/aosp_15_r20/external/mbedtls/programs/hash/
H A Dmd_hmac_demo.c113 CHK(mbedtls_md_hmac_reset(&ctx)); // prepare for new operation in hmac_demo()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A Dmd.h493 int mbedtls_md_hmac_reset(mbedtls_md_context_t *ctx);
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A Dmd.h607 int mbedtls_md_hmac_reset(mbedtls_md_context_t *ctx);
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/docs/
H A Dpsa-transition.md590 The equivalent of `mbedtls_md_reset`, `mbedtls_md_hmac_reset` or `mbedtls_cmac_reset` is to call [`…