We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9587b7b commit aa840f9Copy full SHA for aa840f9
wolfssl/wolfcrypt/settings.h
@@ -3792,6 +3792,14 @@ extern void uITRON4_free(void *p) ;
3792
#define WOLFSSL_ALERT_COUNT_MAX 5
3793
#endif
3794
3795
+/* Enable blinding by default for C-only, non-small curve25519 implementation */
3796
+#if defined(HAVE_CURVE25519) && !defined(CURVE25519_SMALL) && \
3797
+ !defined(FREESCALE_LTC_ECC) && !defined(WOLFSSL_ARMASM) && \
3798
+ !defined(USE_INTEL_SPEEDUP) && \
3799
+ !defined(WOLFSSL_CURVE25519_BLINDING) && !defined(NO_CURVE25519_BLINDING)
3800
+ #define WOLFSSL_CURVE25519_BLINDING
3801
+#endif
3802
+
3803
/* warning for not using harden build options (default with ./configure) */
3804
/* do not warn if big integer support is disabled */
3805
#if !defined(WC_NO_HARDEN) && !defined(NO_BIG_INT)
0 commit comments