From 9da01a7f5358229fbe8bacb0731439ab03a66407 Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Mon, 18 Dec 2023 17:38:18 +0100 Subject: [PATCH] all.sh: rename test_psa_crypto_config_accel_cipher to accel_des Renaming this test component in order to better explain what it really does. Signed-off-by: Valerio Setti --- tests/scripts/all.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 10a76ec182..bdf46a3ed8 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -3643,13 +3643,20 @@ component_test_psa_crypto_config_reference_hash_use_psa() { tests/ssl-opt.sh } -component_test_psa_crypto_config_accel_cipher () { +component_test_psa_crypto_config_accel_des () { msg "test: MBEDTLS_PSA_CRYPTO_CONFIG with accelerated cipher" + # Albeit this components aims at accelerating DES which should only support + # CBC and ECB modes, we need to accelerate more than that otherwise DES_C + # would automatically be re-enabled by "config_adjust_legacy_from_psa.c" loc_accel_list="ALG_ECB_NO_PADDING ALG_CBC_NO_PADDING ALG_CBC_PKCS7 \ ALG_CTR ALG_CFB ALG_OFB ALG_XTS ALG_CMAC \ KEY_TYPE_DES" + # Note: we cannot accelerate all ciphers' key types otherwise we would also + # have to either disable CCM/GCM or accelerate them, but that's out of scope + # of this component. This limitation will be addressed by #8598. + # Configure # ---------