Clean up LMS and LMOTS feature dependencies

Remove SHA256 dependencies from tests, fix incorrect boolean logic in
check_config, and change depends_hashes.pl to disable LMS in one test

Signed-off-by: Raef Coles <raef.coles@arm.com>
This commit is contained in:
Raef Coles 2022-10-13 09:44:27 +01:00
parent 6b2c573b3d
commit 1b43a7448d
No known key found for this signature in database
GPG key ID: 1AAF1B43DF2086F4
4 changed files with 4 additions and 4 deletions

View file

@ -354,7 +354,7 @@
#endif
#if defined(MBEDTLS_LMS_C) && \
( !defined(MBEDTLS_PSA_CRYPTO_C) && !defined(PSA_WANT_ALG_SHA256) )
! ( defined(MBEDTLS_PSA_CRYPTO_C) && defined(PSA_WANT_ALG_SHA256) )
#error "MBEDTLS_LMS_C requires MBEDTLS_PSA_CRYPTO_C and PSA_WANT_ALG_SHA256"
#endif