Skip to content

Commit 0619605

Browse files
author
Ben Taylor
committed
added dependencies to test scripts
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
1 parent 5739604 commit 0619605

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/scripts/components-configuration-crypto.sh

+3
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,9 @@ component_test_full_no_ccm_star_no_tag () {
397397
scripts/config.py -f "$CRYPTO_CONFIG_H" unset PSA_WANT_ALG_CFB
398398
scripts/config.py -f "$CRYPTO_CONFIG_H" unset PSA_WANT_ALG_OFB
399399
scripts/config.py -f "$CRYPTO_CONFIG_H" unset PSA_WANT_ALG_ECB_NO_PADDING
400+
# NOTE unsettting PSA_WANT_ALG_ECB_NO_PADDING without unsetting NIST_KW_C will
401+
# mean PSA_WANT_ALG_ECB_NO_PADDING is re-enabled, so disabling it also.
402+
scripts/config.py -f "$CRYPTO_CONFIG_H" unset MBEDTLS_NIST_KW_C
400403
scripts/config.py -f "$CRYPTO_CONFIG_H" unset PSA_WANT_ALG_CBC_NO_PADDING
401404
scripts/config.py -f "$CRYPTO_CONFIG_H" unset PSA_WANT_ALG_CBC_PKCS7
402405

tests/scripts/depends.py

+1
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ def test(self, options):
351351
'PSA_WANT_ALG_SHA3_256',
352352
'PSA_WANT_ALG_SHA3_384',
353353
'PSA_WANT_ALG_SHA3_512'],
354+
'PSA_WANT_ALG_ECB_NO_PADDING' : ['MBEDTLS_NIST_KW_C'],
354355
}
355356

356357
# If an option is tested in an exclusive test, alter the following defines.

0 commit comments

Comments
 (0)