Home
last modified time | relevance | path

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

/third_party/mbedtls/library/
Dssl_msg.c1221 unsigned char mac_expect[MBEDTLS_SSL_MAC_ADD]; in mbedtls_ssl_decrypt_buf() local
1251 ret = mbedtls_md_hmac_finish( &transform->md_ctx_dec, mac_expect ); in mbedtls_ssl_decrypt_buf()
1260 MBEDTLS_SSL_DEBUG_BUF( 4, "expected mac", mac_expect, in mbedtls_ssl_decrypt_buf()
1264 if( mbedtls_ct_memcmp( data + rec->data_len, mac_expect, in mbedtls_ssl_decrypt_buf()
1274 mbedtls_platform_zeroize( mac_expect, transform->maclen ); in mbedtls_ssl_decrypt_buf()
1430 unsigned char mac_expect[MBEDTLS_SSL_MAC_ADD]; in mbedtls_ssl_decrypt_buf() local
1468 mac_expect ); in mbedtls_ssl_decrypt_buf()
1482 MBEDTLS_SSL_DEBUG_BUF( 4, "expected mac", mac_expect, transform->maclen ); in mbedtls_ssl_decrypt_buf()
1486 if( mbedtls_ct_memcmp( mac_peer, mac_expect, in mbedtls_ssl_decrypt_buf()
1498 mbedtls_platform_zeroize( mac_expect, transform->maclen ); in mbedtls_ssl_decrypt_buf()