mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-20 18:48:01 +00:00
Mention the Montgomery curve exception
Montgomery curves are not in the expected place in the curve list. This is a bug (https://github.com/ARMmbed/mbedtls/issues/4698), but until this bug is fixed, document the current behavior and indicate that it's likely to change. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
138d9f52cf
commit
5ea63a31c4
|
@ -2987,7 +2987,9 @@ void mbedtls_ssl_conf_dhm_min_bitlen( mbedtls_ssl_config *conf,
|
||||||
#if defined(MBEDTLS_ECP_C)
|
#if defined(MBEDTLS_ECP_C)
|
||||||
/**
|
/**
|
||||||
* \brief Set the allowed curves in order of preference.
|
* \brief Set the allowed curves in order of preference.
|
||||||
* (Default: all defined curves in order of decreasing size.)
|
* (Default: all defined curves in order of decreasing size,
|
||||||
|
* except that Montgomery curves come last. This order
|
||||||
|
* is likely to change in a future version.)
|
||||||
*
|
*
|
||||||
* On server: this only affects selection of the ECDHE curve;
|
* On server: this only affects selection of the ECDHE curve;
|
||||||
* the curves used for ECDH and ECDSA are determined by the
|
* the curves used for ECDH and ECDSA are determined by the
|
||||||
|
|
Loading…
Reference in a new issue