mbedtls: Activate deterministic ECDSA
[openwrt/staging/wigyori.git] / package / libs / mbedtls / patches / 200-config.patch
index de352a66fb1aa29e158635f4bee7e7aad9f37961..d925ee3750c8f420c1fb4cd28a951648eee4af79 100644 (file)
  
  /**
   * \def MBEDTLS_ECP_NIST_OPTIM
-@@ -656,7 +656,7 @@
-  *
-  * Comment this macro to disable deterministic ECDSA.
-  */
--#define MBEDTLS_ECDSA_DETERMINISTIC
-+//#define MBEDTLS_ECDSA_DETERMINISTIC
- /**
-  * \def MBEDTLS_KEY_EXCHANGE_PSK_ENABLED
 @@ -709,7 +709,7 @@
   *             See dhm.h for more details.
   *
  
  /**
   * \def MBEDTLS_SHA256_SMALLER
-@@ -1134,7 +1134,7 @@
-  *
-  * Uncomment to enable the smaller implementation of SHA256.
-  */
--//#define MBEDTLS_SHA256_SMALLER
-+#define MBEDTLS_SHA256_SMALLER
- /**
-  * \def MBEDTLS_SSL_ALL_ALERT_MESSAGES
 @@ -1272,7 +1272,7 @@
   *          configuration of this extension).
   *
  
  /**
   * \def MBEDTLS_HMAC_DRBG_C
-@@ -2203,7 +2203,7 @@
-  *
-  * Uncomment to enable the HMAC_DRBG random number geerator.
-  */
--#define MBEDTLS_HMAC_DRBG_C
-+//#define MBEDTLS_HMAC_DRBG_C
- /**
-  * \def MBEDTLS_MD_C
 @@ -2486,7 +2486,7 @@
   *
   * This module enables abstraction of common (libc) functions.