Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/wpa_supplicant/src/crypto/
Dcrypto_mbedtls.c45 mbedtls_md_context_t md_ctx; in digest_vector() local
48 mbedtls_md_init(&md_ctx); in digest_vector()
56 ret = mbedtls_md_setup(&md_ctx, md_info, 0); in digest_vector()
62 ret = mbedtls_md_starts(&md_ctx); in digest_vector()
69 ret = mbedtls_md_update(&md_ctx, addr[i], len[i]); in digest_vector()
76 ret = mbedtls_md_finish(&md_ctx, mac); in digest_vector()
78 mbedtls_md_free(&md_ctx); in digest_vector()
193 mbedtls_md_context_t md_ctx; in hmac_vector() local
196 mbedtls_md_init(&md_ctx); in hmac_vector()
203 ret = mbedtls_md_setup(&md_ctx, md_info, 1); in hmac_vector()
[all …]