mbedtls/tests/src
Gilles Peskine 2385f71abd Fix and simplify test assertions
mbedtls_test_fail does not copy the failure explanation string, so
passing a string on the stack doesn't work. This fixes a garbage
message that would appear if a test triggered a non-implemented code
path.

More generally, just use TEST_ASSERT instead of explicitly calling
mbedtls_test_fail, since we aren't playing any tricks with the error
location.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-02-23 20:29:38 +01:00
..
drivers Add ECP transparent test driver generate_key entry point 2021-02-16 09:07:46 +01:00
asn1_helpers.c Move asn1_skip_integer to the asn1_helpers module 2021-02-23 20:29:38 +01:00
fake_external_rng_for_test.c Fix wrong \file name in Doxygen comments 2021-02-23 20:29:38 +01:00
helpers.c Remove direct writing to test_info from *.function 2021-02-02 16:20:45 +00:00
psa_crypto_helpers.c Move the fake PSA external RNG to its own header and source files 2021-01-20 20:02:01 +01:00
psa_exercise_key.c Fix and simplify test assertions 2021-02-23 20:29:38 +01:00
random.c Merge pull request #3571 from gufe44/arc4random_buf-implicit 2020-11-12 12:12:49 +01:00
threading_helpers.c Explain the usage of is_valid in pthread mutexes 2021-02-22 19:24:03 +01:00