From d84902f4efcfbde7bfa5d1de49df93801a79c536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 23 Jan 2023 13:03:13 +0100 Subject: [PATCH] Add issue numbers to TODO comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the python script I didn't use the word TODO because pylint doesn't like that, but morally it's the same. I removed the comment about "do we need a subset of compat.sh?" because it turns out that `ssl-opt.sh` is already exercising all the key exchanges: % sed -n 's/.*force_ciphersuite=TLS-\([^ ]*\)-WITH.*/\1/p' tests/ssl-opt.sh | sort -u DHE-PSK DHE-RSA ECDH-ECDSA ECDHE-ECDSA ECDHE-PSK ECDHE-RSA ECJPAKE PSK RSA RSA-PSK (the only omission is ECDH-RSA which is not of interest here and does not actually differ from ECDH-ECDSA). So, we don't need a subset of compat.sh because we're already getting enough testing from ssl-opt.sh (not to mention test_suite_ssl). Signed-off-by: Manuel Pégourié-Gonnard --- tests/scripts/all.sh | 7 +++---- tests/scripts/analyze_outcomes.py | 16 ++++++++-------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 2412c60f1..fa82733ed 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -2026,7 +2026,7 @@ config_psa_crypto_config_ecdsa_use_psa () { scripts/config.py unset MBEDTLS_ECDSA_C fi # Disable things that depend on it - # TODO: make these work + # TODO: make these work - #6862 scripts/config.py unset MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED scripts/config.py unset MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED } @@ -2074,8 +2074,7 @@ component_test_psa_crypto_config_accel_ecdsa_use_psa () { msg "test: MBEDTLS_PSA_CRYPTO_CONFIG with accelerated ECDSA + USE_PSA" make test - # TODO: ssl-opt.sh (currently doesn't pass) - # TODO: is some subset of compat.sh needed? + # TODO: ssl-opt.sh (currently doesn't pass) - #6861 } # Keep in sync with component_test_psa_crypto_config_accel_ecdsa_use_psa. @@ -2094,7 +2093,7 @@ component_test_psa_crypto_config_reference_ecdsa_use_psa () { msg "test: MBEDTLS_PSA_CRYPTO_CONFIG with accelerated ECDSA + USE_PSA" make test - # TODO: ssl-opt.sh (when the accel component is ready) + # TODO: ssl-opt.sh (when the accel component is ready) - #6861 } component_test_psa_crypto_config_accel_ecdh () { diff --git a/tests/scripts/analyze_outcomes.py b/tests/scripts/analyze_outcomes.py index 482d64e7c..eeded5f62 100755 --- a/tests/scripts/analyze_outcomes.py +++ b/tests/scripts/analyze_outcomes.py @@ -164,14 +164,14 @@ TASKS = { 'ecdsa', # the software implementation that's excluded # the following lines should not be needed, # they will be removed by upcoming work - 'psa_crypto_se_driver_hal', - 'random', - 'ecp', - 'pk', - 'x509parse', - 'x509write', - 'debug', - 'ssl', + 'psa_crypto_se_driver_hal', # #6856 + 'random', # #6856 + 'ecp', # #6856 + 'pk', # #6857 + 'x509parse', # #6858 + 'x509write', # #6858 + 'debug', # #6860 + 'ssl', # #6860 ]}}, }