Lines Matching refs:mac_expect
1723 unsigned char mac_expect[MBEDTLS_SSL_MAC_ADD]; in mbedtls_ssl_decrypt_buf()
1780 ret = mbedtls_md_hmac_finish(&transform->md_ctx_dec, mac_expect); in mbedtls_ssl_decrypt_buf()
1791 MBEDTLS_SSL_DEBUG_BUF(4, "expected mac", mac_expect, in mbedtls_ssl_decrypt_buf()
1795 if (mbedtls_ct_memcmp(data + rec->data_len, mac_expect, in mbedtls_ssl_decrypt_buf()
1812 mbedtls_platform_zeroize(mac_expect, transform->maclen); in mbedtls_ssl_decrypt_buf()
2002 unsigned char mac_expect[MBEDTLS_SSL_MAC_ADD] = { 0 }; in mbedtls_ssl_decrypt_buf() local
2045 mac_expect); in mbedtls_ssl_decrypt_buf()
2050 mac_expect); in mbedtls_ssl_decrypt_buf()
2064 MBEDTLS_SSL_DEBUG_BUF(4, "expected mac", mac_expect, transform->maclen); in mbedtls_ssl_decrypt_buf()
2068 if (mbedtls_ct_memcmp(mac_peer, mac_expect, in mbedtls_ssl_decrypt_buf()
2079 mbedtls_platform_zeroize(mac_expect, transform->maclen); in mbedtls_ssl_decrypt_buf()