mirror of
https://github.com/espressif/mbedtls.git
synced 2025-06-10 21:12:46 +08:00

ASSERT_COMPARE tests that the two buffers have the same size and content. The intended use is to replace TEST_ASSERT( size1 == size2 ) followed by memcmp on the content. Keep using memcmp when comparing two buffers that have the same size by construction.