mbedtls/programs/test
Gilles Peskine 216040d46f 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().
2020-03-13 15:25:39 +00:00
..
benchmark.c Fix CTR_DRBG benchmark 2020-03-13 15:25:39 +00:00
CMakeLists.txt Remove ssl_cert_test sample app 2019-04-07 16:51:18 +03:00
cpp_dummy_build.cpp Remove md_wrap.c and md_internal.h 2019-09-09 09:45:57 +01:00
query_compile_time_config.c Fix aligment in programs/test/query_compile_time_config.c 2019-02-07 10:32:31 +00:00
selftest.c Add a calloc self-test 2020-03-13 12:03:12 +00:00
udp_proxy_wrapper.sh udp_proxy_wrapper.sh: fix cleanup not cleaning up 2017-10-24 11:25:19 +01:00
udp_proxy.c Fix undefined references to hardware_poll() 2019-10-22 12:50:13 +02:00
zeroize.c Move the definition of function in zeroize 2019-10-04 15:02:57 +03:00