Add programs/test/zeroize.c to test mbedtls_zeroize

The idea is to use the simple program that is expected to be modified
rarely to set a breakpoint in a specific line and check that the
function mbedtls_zeroize() does actually set the buffer to 0 and is not
optimised out by the compiler.
This commit is contained in:
Andres Amaya Garcia 2017-10-24 21:10:45 +01:00 committed by Andres Amaya Garcia
parent 614d9c0667
commit 5ab74a1401
4 changed files with 101 additions and 1 deletions

1
programs/.gitignore vendored
View file

@ -47,6 +47,7 @@ test/ecp-bench
test/selftest
test/ssl_cert_test
test/udp_proxy
test/zeroize
util/pem2der
util/strerror
x509/cert_app