mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-08 13:27:19 +02:00
Document that curve lists can include partially-supported curves
Document that a curve returned by mbedtls_ecp_curve_list() or mbedtls_ecp_grp_id_list() may lack support for ECDH or ECDSA. Add a corresponding changelog entry, under "API Changes" because we have changed the behavior: formerly, these functions skipped ECDH-only curves, although this was not documented.
This commit is contained in:
committed by
Janos Follath
parent
da510dfa08
commit
92a925c0bc
@@ -257,6 +257,11 @@ API Changes
|
||||
that it is now optional with the MBEDTLS_CHECK_PARAMS flag which by default
|
||||
is off. That means that checks which were previously present by default
|
||||
will no longer be.
|
||||
* The functions mbedtls_ecp_curve_list() and mbedtls_ecp_grp_id_list() now
|
||||
list all curves for which at least one of ECDH or ECDSA is supported, not
|
||||
just curves for which both are supported. Call mbedtls_ecdsa_can_do() or
|
||||
mbedtls_ecdh_can_do() on each result to check whether each algorithm is
|
||||
supported.
|
||||
|
||||
New deprecations
|
||||
* Deprecate mbedtls_ctr_drbg_update and mbedtls_hmac_drbg_update
|
||||
|
||||
Reference in New Issue
Block a user