Fix and improve documentation of MBEDTLS_SSL_CONF_SINGLE_EC

This commit is contained in:
Hanno Becker 2019-07-26 07:49:02 +01:00
parent 3b014fc23a
commit 2736d1983c

View file

@ -3670,7 +3670,7 @@
* If this is set, you must also define the following: * If this is set, you must also define the following:
* - MBEDTLS_SSL_CONF_SINGLE_EC_GRP_ID * - MBEDTLS_SSL_CONF_SINGLE_EC_GRP_ID
* This must resolve to the Mbed TLS group ID for the elliptic * This must resolve to the Mbed TLS group ID for the elliptic
* curve to use (e.g. MBEDTLS_ECP_DP_SECP256R1_ENABLED); see * curve to use (e.g. MBEDTLS_ECP_DP_SECP256R1); see
* ::mbedtls_ecp_group_id in mbedtls/ecp.h for a complete list * ::mbedtls_ecp_group_id in mbedtls/ecp.h for a complete list
* of curve identifiers. * of curve identifiers.
* - MBEDTLS_SSL_CONF_SINGLE_EC_TLS_ID * - MBEDTLS_SSL_CONF_SINGLE_EC_TLS_ID
@ -3682,8 +3682,8 @@
* runtime configuration API mbedtls_ssl_conf_curves(). * runtime configuration API mbedtls_ssl_conf_curves().
*/ */
//#define MBEDTLS_SSL_CONF_SINGLE_EC //#define MBEDTLS_SSL_CONF_SINGLE_EC
//#define MBEDTLS_SSL_CONF_SINGLE_EC_TLS_ID //#define MBEDTLS_SSL_CONF_SINGLE_EC_TLS_ID 23
//#define MBEDTLS_SSL_CONF_SINGLE_EC_GRP_ID //#define MBEDTLS_SSL_CONF_SINGLE_EC_GRP_ID MBEDTLS_ECP_DP_SECP256R1
/* Enable support a single signature hash algorithm /* Enable support a single signature hash algorithm
* at compile-time, at the benefit of code-size. * at compile-time, at the benefit of code-size.