From 06a060ddd82e77adceda167e74abdc920d42738b Mon Sep 17 00:00:00 2001 From: Gabor Mezei Date: Mon, 4 Nov 2024 17:36:22 +0100 Subject: [PATCH] Collect the cipher algorithms Signed-off-by: Gabor Mezei --- tests/scripts/depends.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/scripts/depends.py b/tests/scripts/depends.py index 1ff6a02d9e..0939eadc8c 100755 --- a/tests/scripts/depends.py +++ b/tests/scripts/depends.py @@ -488,6 +488,9 @@ class DomainData: for alg, symbol in ((alg, psa_information.psa_want_symbol(alg)) for alg in psa_info.algorithms) if symbol in self.all_config_symbols} + cipher_algs = {alg + for alg in algs + if alg.can_do(crypto_knowledge.AlgorithmCategory.CIPHER)} # Find hash modules by name. hash_symbols = self.config_symbols_matching(r'MBEDTLS_(MD|RIPEMD|SHA)[0-9]+_C\Z')