Fix wrong dependency of ECJPAKE_C

It always uses MD now. (The "fall back" to PSA Crypto was only in the
1st iteration of driver-only hash support, before we changed the
architecture to make everything go through MD.)

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
Manuel Pégourié-Gonnard 2024-02-08 12:03:28 +01:00
parent 49f64b4cac
commit 61758e606e

View file

@ -234,9 +234,8 @@
#endif
#endif /* MBEDTLS_PK_C && MBEDTLS_USE_PSA_CRYPTO */
#if defined(MBEDTLS_ECJPAKE_C) && \
( !defined(MBEDTLS_ECP_C) || \
!( defined(MBEDTLS_MD_C) || defined(MBEDTLS_PSA_CRYPTO_C) ) )
#if defined(MBEDTLS_ECJPAKE_C) && \
(!defined(MBEDTLS_ECP_C) || !defined(MBEDTLS_MD_C))
#error "MBEDTLS_ECJPAKE_C defined, but not all prerequisites"
#endif