Add config option for X.509/TLS to use PSA

This commit is contained in:
Manuel Pégourié-Gonnard 2018-10-22 12:14:52 +02:00 committed by Hanno Becker
parent 55517ae95f
commit aeefa49edd
4 changed files with 25 additions and 0 deletions

View file

@ -644,6 +644,10 @@
#endif
#undef MBEDTLS_THREADING_IMPL
#if defined(MBEDTLS_USE_PSA_CRYPTO) && !defined(MBEDTLS_PSA_CRYPTO_C)
#error "MBEDTLS_USE_PSA_CRYPTO defined, but not all prerequisites"
#endif
#if defined(MBEDTLS_VERSION_FEATURES) && !defined(MBEDTLS_VERSION_C)
#error "MBEDTLS_VERSION_FEATURES defined, but not all prerequisites"
#endif