mbedtls/tests/scripts
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
..
all-in-docker.sh Clean up file prologue comments 2019-06-29 17:45:34 -05:00
all.sh Add MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN 2020-07-15 12:26:22 +02:00
analyze_outcomes.py Document the fields of TestCasesOutcomes 2020-06-26 18:31:26 +02:00
basic-build-test.sh Merge pull request #3410 from mpg/make-coverage-script-deterministic 2020-06-22 12:30:48 +02:00
basic-in-docker.sh basic-in-docker: call all.sh for sanity checks 2020-06-25 14:22:06 +02:00
check-doxy-blocks.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
check-generated-files.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
check-names.sh Make cf_hmac() STATIC_TESTABLE 2020-07-15 12:26:21 +02:00
check-python-files.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
check_files.py Rename Python scripts to use '_' and not '-' 2020-06-25 14:22:06 +02:00
check_test_cases.py Documentation improvements 2020-07-03 09:32:50 +02:00
curves.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
depends-hashes.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
depends-pkalgs.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
docker_env.sh Enable figuring out number of cores when running on OS X 2020-06-08 18:20:08 +02:00
doxygen.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
gen_ctr_drbg.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
gen_gcm_decrypt.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
gen_gcm_encrypt.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
gen_pkcs1_v21_sign_verify.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
generate-afl-tests.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
generate_test_code.py Pylint: minor code simplifications 2020-04-11 20:23:22 +02:00
key-exchanges.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
list-enum-consts.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
list-identifiers.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
list-macros.sh Make cf_hmac() STATIC_TESTABLE 2020-07-15 12:26:21 +02:00
list-symbols.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
mbedtls_test.py Pylint: minor code simplifications 2020-04-11 20:23:22 +02:00
psa_collect_statuses.py Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
recursion.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
run-test-suites.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
tcp_client.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
test-ref-configs.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
test_config_script.py Pylint: explicitly note why we're doing an unchecked subprocess.run 2020-04-11 20:23:22 +02:00
test_generate_test_code.py Pylint: minor code simplifications 2020-04-11 20:23:22 +02:00
test_psa_constant_names.py Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
test_zeroize.gdb Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
travis-log-failure.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00