mbedtls/tests/include/test
Gilles Peskine b436649a25 Show values when TEST_EQUAL fails
When TEST_EQUAL fails, show the two numerical values in the test log (only
with host_test). The values are printed in hexa and signed decimal.

The arguments of TEST_EQUAL must now be integers, not pointers or floats.
The current implementation requires them to fit in unsigned long long
Signed values no larger than long long will work too. The implementation
uses unsigned long long rather than uintmax_t to reduce portability
concerns. The snprintf function must support "%llx" and "%lld".

For this purpose, add room for two lines of text to the mbedtls_test_info
structure. This adds 154 bytes of global data.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-10-22 11:06:52 +02:00
..
drivers Merge pull request #4357 from gabor-mezei-arm/3267_Implement_psa_sign_message_and_verify 2021-05-17 10:14:46 +02:00
asn1_helpers.h Move asn1_skip_integer to the asn1_helpers module 2021-02-23 20:29:38 +01:00
constant_flow.h Merge pull request #736 from mpg/cf-varpos-copy-dev-restricted 2020-08-25 14:35:55 +01:00
fake_external_rng_for_test.h Move the fake PSA external RNG to its own header and source files 2021-01-20 20:02:01 +01:00
helpers.h Show values when TEST_EQUAL fails 2021-10-22 11:06:52 +02:00
macros.h Show values when TEST_EQUAL fails 2021-10-22 11:06:52 +02:00
psa_crypto_helpers.h Rename function to conform to the library 2021-06-28 15:37:36 +02:00
psa_exercise_key.h Fix some C function documentation in the test framework 2021-02-23 20:36:07 +01:00
psa_helpers.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
random.h Fix long-standing obsolete comment 2021-06-02 21:39:31 +02:00