mbedtls/tests/include/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
..
constant_flow.h Add MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN 2020-07-15 12:26:22 +02:00
helpers.h Rework mbedtls_test_unhexify() 2020-06-26 10:45:16 +02:00
macros.h Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
psa_crypto_helpers.h Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
psa_helpers.h Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00
random.h Add Apache-2.0 headers to all source files 2020-06-16 17:38:44 +02:00