1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-12 08:21:54 +03:00

Collect the cipher algorithms

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei
2024-11-04 17:36:22 +01:00
parent 402381d2a6
commit 06a060ddd8

View File

@ -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')