mbedtls/programs/test
Manuel Pégourié-Gonnard 6240defd17 Add MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN
This option allows to test the constant-flow nature of selected code, using
MemSan and the fundamental observation behind ctgrind that the set of
operations allowed on undefined memory by dynamic analysers is the same as the
set of operations allowed on secret data to avoid leaking it to a local
attacker via side channels, namely, any operation except branching and
dereferencing.

(This isn't the full story, as on some CPUs some instructions have variable
execution depending on the inputs, most notably division and on some cores
multiplication. However, testing that no branch or memory access depends on
secret data is already a good start.)

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2020-07-15 12:26:22 +02:00
..
cmake_subproject Restore linking against all libraries in the cmake_subproject test 2020-03-23 17:55:31 +01:00
benchmark.c Merge pull request #3319 from Kxuan/development 2020-05-18 10:10:25 +01:00
CMakeLists.txt programs: Link to tests common code 2020-06-26 10:45:16 +02:00
cpp_dummy_build.cpp Revert "cpp_dummy_build: Remove X.509 dependency" 2020-03-19 14:23:45 +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 Add MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN 2020-07-15 12:26:22 +02:00
selftest.c Merge pull request #2595 from k-stachowiak/unified-exit-in-examples 2020-05-12 10:46:47 +02:00
udp_proxy_wrapper.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
udp_proxy.c Merge pull request #2595 from k-stachowiak/unified-exit-in-examples 2020-05-12 10:46:47 +02:00
zeroize.c Remove hardcoded line number from the zeroize test 2020-06-09 12:52:04 +02:00