mbedtls: enable NIST curves optimisation.
[openwrt/staging/yousong.git] / package / libs / mbedtls / patches / 200-config.patch
index e4118ff3ef3577b20f3d6e6a8b6545a6adb20b91..54910b95a27295d888a8da2c8b7d5cc01e5cb10e 100644 (file)
  #define MBEDTLS_ECP_DP_SECP256K1_ENABLED
  #define MBEDTLS_ECP_DP_BP256R1_ENABLED
  #define MBEDTLS_ECP_DP_BP384R1_ENABLED
-@@ -457,7 +457,7 @@
-  *
-  * Comment this macro to disable NIST curves optimisation.
-  */
--#define MBEDTLS_ECP_NIST_OPTIM
-+//#define MBEDTLS_ECP_NIST_OPTIM
- /**
-  * \def MBEDTLS_ECDSA_DETERMINISTIC
 @@ -517,7 +517,7 @@
   *      MBEDTLS_TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA
   *      MBEDTLS_TLS_DHE_PSK_WITH_RC4_128_SHA