mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-08-30 23:09:56 +00:00
Merge remote-tracking branch 'restricted/pr/552' into development
Ensure this merge passes tests by auto-generating query_config.c, adding MBEDTLS_ECDH_LEGACY_CONTEXT to it. * restricted/pr/552: Fix mbedtls_ecdh_get_params with new ECDH context Test undefining MBEDTLS_ECDH_LEGACY_CONTEXT in all.sh Define MBEDTLS_ECDH_LEGACY_CONTEXT in config.h Add changelog entry for mbedtls_ecdh_get_params robustness Fix ecdh_get_params with mismatching group Add test case for ecdh_get_params with mismatching group Add test case for ecdh_calc_secret Fix typo in documentation
This commit is contained in:
@@ -50,6 +50,14 @@ API Changes
|
||||
mbedtls_ssl_session structure which otherwise stores the peer's
|
||||
certificate.
|
||||
|
||||
Security
|
||||
* Make mbedtls_ecdh_get_params return an error if the second key
|
||||
belongs to a different group from the first. Before, if an application
|
||||
passed keys that belonged to different group, the first key's data was
|
||||
interpreted according to the second group, which could lead to either
|
||||
an error or a meaningless output from mbedtls_ecdh_get_params. In the
|
||||
latter case, this could expose at most 5 bits of the private key.
|
||||
|
||||
Bugfix
|
||||
* Fix a compilation issue with mbedtls_ecp_restart_ctx not being defined
|
||||
when MBEDTLS_ECP_ALT is defined. Reported by jwhui. Fixes #2242.
|
||||
|
||||
Reference in New Issue
Block a user