diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h index c6882dbb27..79165876b2 100644 --- a/include/mbedtls/config.h +++ b/include/mbedtls/config.h @@ -779,8 +779,7 @@ * * \note This option only works with the default software implementation of * elliptic curve functionality. It is incompatible with - * MBEDTLS_ECP_ALT, MBEDTLS_ECDH_XXX_ALT, MBEDTLS_ECDSA_XXX_ALT - * and MBEDTLS_ECDH_LEGACY_CONTEXT. + * MBEDTLS_ECP_ALT, MBEDTLS_ECDH_XXX_ALT, MBEDTLS_ECDSA_XXX_ALT. */ //#define MBEDTLS_ECP_RESTARTABLE diff --git a/include/mbedtls/ecdh.h b/include/mbedtls/ecdh.h index e5edb46e6b..765ac5e626 100644 --- a/include/mbedtls/ecdh.h +++ b/include/mbedtls/ecdh.h @@ -51,9 +51,6 @@ * will support alternative implementations of ECDH operations. * The new format is incompatible with applications that access * context fields directly and with restartable ECP operations. - * - * This option has no effect if #MBEDTLS_ECDH_C is not enabled. - * */ #if defined(MBEDTLS_ECP_RESTARTABLE)