Merge pull request #634 from hanno-arm/single_ec_doc-baremetal

[Baremetal] Fix single-EC documentation
This commit is contained in:
Manuel Pégourié-Gonnard 2019-07-29 11:59:12 +02:00 committed by GitHub
commit d04850507d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3693,7 +3693,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
@ -3705,8 +3705,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.