mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-11 09:40:38 +00:00
Components that accelerate an algorithm that uses hashing internally (such as deterministic ECDSA and RSA-PSS) need the hash algorithms available in libtestdriver1. Previously, the omission of SHA-3 in tests/include/test/drivers/crypto_config_test_driver_extension.h meant it was enabled in libtestdriver1 when not requesting its acceleration, and disabled when requesting it. Adding it in a previous commit fixed the components that asked it accelerated, but broke the component that didn't ask for it but still needed it. Fix those components by explicitly requesting SHA-3 as we already do for the other hash algorithms that are require for the same reason. Note: this broke test_suite_psa_crypto_storage_format.v0 which is apparently the only place exercising signatures with SHA-3. Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>