1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Move the psa_init() warnings to _CLI and _SRV

Now that USA_PSA_CRYPTO is always on, users need to call psa_init() with
all protocol versions.

Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
Janos Follath
2024-12-02 13:22:34 +00:00
parent 92dfb88eca
commit 745e561d2d

View File

@@ -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