diff --git a/include/mbedtls/mbedtls_config.h b/include/mbedtls/mbedtls_config.h index 8f770d671d..a559c07228 100644 --- a/include/mbedtls/mbedtls_config.h +++ b/include/mbedtls/mbedtls_config.h @@ -1556,8 +1556,6 @@ * * Requires: PSA_WANT_ALG_SHA_256 or PSA_WANT_ALG_SHA_384 * - * \warning You must call psa_crypto_init() before doing any TLS operations. - * * Comment this macro to disable support for TLS 1.2 / DTLS 1.2 */ #define MBEDTLS_SSL_PROTO_TLS1_2 @@ -1573,8 +1571,6 @@ * Requires: MBEDTLS_SSL_KEEP_PEER_CERTIFICATE * Requires: MBEDTLS_PSA_CRYPTO_C * - * \warning You must call psa_crypto_init() before doing any TLS operations. - * * Uncomment this macro to enable the support for TLS 1.3. */ #define MBEDTLS_SSL_PROTO_TLS1_3 @@ -3265,6 +3261,8 @@ * * Requires: MBEDTLS_SSL_TLS_C * + * \warning You must call psa_crypto_init() before doing any TLS operations. + * * This module is required for SSL/TLS client support. */ #define MBEDTLS_SSL_CLI_C @@ -3279,6 +3277,8 @@ * * Requires: MBEDTLS_SSL_TLS_C * + * \warning You must call psa_crypto_init() before doing any TLS operations. + * * This module is required for SSL/TLS server support. */ #define MBEDTLS_SSL_SRV_C