mbedtls/tests/include/test
Gilles Peskine 89615eefe7 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-19 22:32:44 +02:00
..
drivers Merge remote-tracking branch 'upstream/development' into psa-m-aead-merge 2021-09-24 11:18:13 +01:00
asn1_helpers.h Move asn1_skip_integer to the asn1_helpers module 2021-02-23 20:29:38 +01:00
certs.h Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
constant_flow.h Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
fake_external_rng_for_test.h Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
helpers.h Show values when TEST_EQUAL fails 2021-10-19 22:32:44 +02:00
macros.h Show values when TEST_EQUAL fails 2021-10-19 22:32:44 +02:00
psa_crypto_helpers.h Rename function to conform to the library 2021-06-29 17:06:33 +02:00
psa_exercise_key.h Remove MD2, MD4, RC4, Blowfish and XTEA 2021-06-16 10:34:25 +02:00
psa_helpers.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
random.h Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00