From 02b80488461f13c35fa258e33d0cbff9b6717329 Mon Sep 17 00:00:00 2001 From: "Christoph M. Wintersteiger" Date: Thu, 25 Oct 2018 12:41:04 +0100 Subject: [PATCH] ECDH: Add Everest Curve25519 config.h option --- include/mbedtls/config.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h index 877d52e3f9..5443dd2958 100644 --- a/include/mbedtls/config.h +++ b/include/mbedtls/config.h @@ -3576,6 +3576,17 @@ */ //#define MBEDTLS_PLATFORM_GMTIME_R_ALT +/* + * \def MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED + * + * Enable the verified implementations of crypto primitives + * from Project Everest (currently only Curve25519). + * This feature breaks ECDH backward compatibility (see also + * MBEDTLS_ECDH_LEGACY_CONTEXT). + * + */ +#define MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED + /* \} name SECTION: Customisation configuration options */ /* Target and application specific configurations