mbedtls/programs
Gilles Peskine eab4d701ca Fix CTR_DRBG benchmark
You can't reuse a CTR_DRBG context without free()ing it and
re-init()ing it. 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:07:08 +01:00
..
aes Zeroize sensitive data in aescrypt2 and crypt_and_hash examples 2018-10-15 13:26:37 +01:00
hash Fix typo in platform macro defines for examples 2018-07-10 17:34:25 +01:00
pkey Change size of preallocated buffer for pk_sign() calls 2019-06-06 13:06:46 +02:00
random Fix typo in platform macro defines for examples 2018-07-10 17:34:25 +01:00
ssl Merge remote-tracking branch 'origin/pr/2498' into mbedtls-2.7 2019-06-14 08:48:10 +01:00
test Fix CTR_DRBG benchmark 2019-10-28 21:07:08 +01:00
util Fix typo in platform macro defines for examples 2018-07-10 17:34:25 +01:00
x509 Document support for MD2 and MD4 in programs/x509/cert_write 2019-06-03 16:22:19 +01:00
.gitignore Add new program to gitignore 2015-11-02 06:34:29 +09:00
CMakeLists.txt
Makefile programs: Make make clean clean all programs always 2019-06-20 16:30:36 +01:00
wince_main.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00