From ea8c88fcbb85917b7e323c016f9ba47bbd55f930 Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Thu, 29 Dec 2022 11:08:35 +0100 Subject: [PATCH] test: fix some descriptions Signed-off-by: Valerio Setti --- tests/scripts/all.sh | 2 +- tests/scripts/depends.py | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 5631b9fe42..1460ecd489 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -1964,7 +1964,7 @@ component_test_psa_crypto_config_accel_ecdsa () { scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_STREAM_CIPHER scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_ECB_NO_PADDING - # SHA384 needed for some ECDSA signature tests. + # These hashes are needed for some ECDSA signature tests. scripts/config.py -f tests/include/test/drivers/config_test_driver.h set MBEDTLS_SHA224_C scripts/config.py -f tests/include/test/drivers/config_test_driver.h set MBEDTLS_SHA384_C scripts/config.py -f tests/include/test/drivers/config_test_driver.h set MBEDTLS_SHA512_C diff --git a/tests/scripts/depends.py b/tests/scripts/depends.py index 67bf6ddff7..51a8ef2014 100755 --- a/tests/scripts/depends.py +++ b/tests/scripts/depends.py @@ -409,12 +409,11 @@ class DomainData: build_and_test), # Elliptic curves. Run the test suites. 'curves': ExclusiveDomain(curve_symbols, build_and_test), - # Hash algorithms. Exclude two groups: - # - Exclusive domain of MD, RIPEMD, SHA1; - # - Exclusive domain of SHA224 and SHA384, because MBEDTLS_ENTROPY_C - # is extensively used across various modules, but it depends on - # either SHA256 or SHA512. As a consequence an "exclusive" test - # of SHA224/SHA384 with MBEDTLS_ENTROPY_C enabled is not possible. + # Hash algorithms. Excluding exclusive domains of MD, RIPEMD, SHA1, + # SHA224 and SHA384 because MBEDTLS_ENTROPY_C is extensively used + # across various modules, but it depends on either SHA256 or SHA512. + # As a consequence an "exclusive" test of anything other than SHA256 + # or SHA512 with MBEDTLS_ENTROPY_C enabled is not possible. 'hashes': DualDomain(hash_symbols, build_and_test, exclude=r'MBEDTLS_(MD|RIPEMD|SHA1_)' \ '|MBEDTLS_SHA224_' \