From 28c6290efa3060c7bb62b624324d8fced9ec8faf Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Tue, 3 Dec 2024 18:07:02 +0000 Subject: [PATCH] Remove interruptible tests from TSAN component No effort was made to make the interruptible ECC PSA functions thread safe, as it was presumed that generally if you were using interruptible functionality, then you were unlikely to have mulitple threads. Signed-off-by: Paul Elliott --- tests/scripts/components-sanitizers.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/scripts/components-sanitizers.sh b/tests/scripts/components-sanitizers.sh index 2496c3df6e..454d1407f6 100644 --- a/tests/scripts/components-sanitizers.sh +++ b/tests/scripts/components-sanitizers.sh @@ -111,6 +111,8 @@ component_test_tsan () { scripts/config.py set MBEDTLS_THREADING_PTHREAD # Self-tests do not currently use multiple threads. scripts/config.py unset MBEDTLS_SELF_TEST + # Interruptible ECC tests are not thread safe + scripts/config.py unset MBEDTLS_ECP_RESTARTABLE # The deprecated MBEDTLS_PSA_CRYPTO_SE_C interface is not thread safe. scripts/config.py unset MBEDTLS_PSA_CRYPTO_SE_C