mbedtls/tests
Manuel Pégourié-Gonnard a237722118 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-28 11:21:24 +02:00
..
.jenkins Add Jenkinsfile for PR job 2018-10-19 15:25:10 +01:00
configs Update license headers to Apache-2.0 OR GPL-2.0-or-later 2020-06-15 12:48:48 +02:00
data_files Update license headers to Apache-2.0 OR GPL-2.0-or-later 2020-06-15 12:48:48 +02:00
git-scripts Use all.sh in pre-push hook 2020-06-23 11:37:04 +02:00
scripts Add MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN 2020-07-28 11:21:24 +02:00
suites Add MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN 2020-07-28 11:21:24 +02:00
.gitignore Move some ignore patterns to subdirectories 2015-01-28 15:33:23 +00:00
CMakeLists.txt Merge remote-tracking branch 'origin/pr/2293' into mbedtls-2.16 2019-03-05 16:31:02 +00:00
compat.sh Update license headers to Apache-2.0 OR GPL-2.0-or-later 2020-06-15 12:48:48 +02:00
Descriptions.txt Add selftest program to the list of tests 2014-04-04 16:33:01 +02:00
Makefile Merge remote-tracking branch 'origin/pr/2053' into mbedtls-2.16 2019-06-21 15:59:16 +01:00
ssl-opt.sh Update license headers to Apache-2.0 OR GPL-2.0-or-later 2020-06-15 12:48:48 +02:00