Skip to content

Commit aa840f9

Browse files
adjust default build with curve25519
1 parent 9587b7b commit aa840f9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

wolfssl/wolfcrypt/settings.h

+8
Original file line numberDiff line numberDiff line change
@@ -3792,6 +3792,14 @@ extern void uITRON4_free(void *p) ;
37923792
#define WOLFSSL_ALERT_COUNT_MAX 5
37933793
#endif
37943794

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+
37953803
/* warning for not using harden build options (default with ./configure) */
37963804
/* do not warn if big integer support is disabled */
37973805
#if !defined(WC_NO_HARDEN) && !defined(NO_BIG_INT)

0 commit comments

Comments
 (0)