mbedtls/programs/test
Gilles Peskine f0ebbfb3fc Fix CTR_DRBG benchmark
You can't reuse a CTR_DRBG context without free()ing it and
re-init()ing. This generally happened to work, but was never
guaranteed. It could have failed with alternative implementations of
the AES module because mbedtls_ctr_drbg_seed() calls
mbedtls_aes_init() on a context which is already initialized if
mbedtls_ctr_drbg_seed() hasn't been called before, plausibly causing a
memory leak. Calling free() and seed() with no intervening init fails
when MBEDTLS_THREADING_C is enabled and all-bits-zero is not a valid
mutex representation. So add the missing free() and init().
2019-10-28 21:03:52 +01:00
..
cmake_subproject CMake: Add a subdirectory build regression test 2019-06-26 12:46:53 +01:00
benchmark.c Fix CTR_DRBG benchmark 2019-10-28 21:03:52 +01:00
CMakeLists.txt programs, tests: Depend only on libmbedcrypto 2019-04-25 11:46:21 +01:00
cpp_dummy_build.cpp Revert "cpp_dummy_build: Remove dependency on compat-1.3.h" 2019-07-15 15:52:25 +01:00
query_compile_time_config.c Fix aligment in programs/test/query_compile_time_config.c 2019-02-07 10:38:22 +00:00
query_config.c Move MBEDTLS_CTR_DRBG_USE_128_BIT_KEY to the correct section 2019-10-04 11:16:24 +02:00
selftest.c Add a calloc self-test 2019-09-20 20:22:15 +02:00
zeroize.c Fix coverity defects 2018-06-06 03:44:03 +01:00