From 20788e584df428275d88b2867740ffc85b9ff649 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 92e1b62aaf..0d10ea644b 100644 --- a/include/mbedtls/config.h +++ b/include/mbedtls/config.h @@ -3535,6 +3535,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