Lines Matching refs:mac_expect
1724 unsigned char mac_expect[MBEDTLS_SSL_MAC_ADD]; in mbedtls_ssl_decrypt_buf()
1781 ret = mbedtls_md_hmac_finish(&transform->md_ctx_dec, mac_expect); in mbedtls_ssl_decrypt_buf()
1792 MBEDTLS_SSL_DEBUG_BUF(4, "expected mac", mac_expect, in mbedtls_ssl_decrypt_buf()
1796 if (mbedtls_ct_memcmp(data + rec->data_len, mac_expect, in mbedtls_ssl_decrypt_buf()
1813 mbedtls_platform_zeroize(mac_expect, transform->maclen); in mbedtls_ssl_decrypt_buf()
2003 unsigned char mac_expect[MBEDTLS_SSL_MAC_ADD] = { 0 }; in mbedtls_ssl_decrypt_buf() local
2046 mac_expect); in mbedtls_ssl_decrypt_buf()
2051 mac_expect); in mbedtls_ssl_decrypt_buf()
2065 MBEDTLS_SSL_DEBUG_BUF(4, "expected mac", mac_expect, transform->maclen); in mbedtls_ssl_decrypt_buf()
2069 if (mbedtls_ct_memcmp(mac_peer, mac_expect, in mbedtls_ssl_decrypt_buf()
2080 mbedtls_platform_zeroize(mac_expect, transform->maclen); in mbedtls_ssl_decrypt_buf()