Merge pull request #6195 from superna9999/6149-driver-only-hashes-ec-j-pake

Driver-only hashes: EC J-PAKE
This commit is contained in:
Gilles Peskine 2022-08-22 17:28:15 +02:00 committed by GitHub
commit e5018c97f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 83 additions and 40 deletions

View file

@ -108,7 +108,8 @@
#endif
#if defined(MBEDTLS_ECJPAKE_C) && \
( !defined(MBEDTLS_ECP_C) || !defined(MBEDTLS_MD_C) )
( !defined(MBEDTLS_ECP_C) || \
!( defined(MBEDTLS_MD_C) || defined(MBEDTLS_PSA_CRYPTO_C) ) )
#error "MBEDTLS_ECJPAKE_C defined, but not all prerequisites"
#endif