You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[AS_HELP_STRING([--enable-curve25519],[Enable Curve25519 (default: disabled). Set to "nonblock" to enable non-blocking support for key gen and shared secret])],
4820
4820
[ ENABLED_CURVE25519=$enableval ],
4821
4821
[ ENABLED_CURVE25519=no ]
4822
4822
)
4823
4823
4824
+
# Handle curve25519 nonblock option - enable asynccrypt and asynccrypt-sw early
4825
+
if test "$ENABLED_CURVE25519" = "nonblock"
4826
+
then
4827
+
test -z "$enable_asynccrypt" && enable_asynccrypt=yes
4828
+
test -z "$enable_asynccrypt_sw" && enable_asynccrypt_sw=yes
4829
+
fi
4830
+
4824
4831
if test "$ENABLED_CURVE25519" = "no" && test "$ENABLED_QUIC" = "yes" && test "$ENABLED_FIPS" = "no"
4825
4832
then
4826
4833
ENABLED_CURVE25519=yes
@@ -10328,12 +10335,17 @@ fi
10328
10335
10329
10336
if test "$ENABLED_CURVE25519" != "no"
10330
10337
then
10331
-
if test "$ENABLED_CURVE25519" = "small" || test "$ENABLED_LOWRESOURCE" = "yes"
10338
+
if test "$ENABLED_CURVE25519" = "small" || test "$ENABLED_CURVE25519" = "nonblock" || test "$ENABLED_LOWRESOURCE" = "yes"
10332
10339
then
10333
10340
AM_CFLAGS="$AM_CFLAGS -DCURVE25519_SMALL"
10334
10341
ENABLED_CURVE25519_SMALL=yes
10335
10342
fi
10336
10343
10344
+
if test "$ENABLED_CURVE25519" = "nonblock"
10345
+
then
10346
+
AM_CFLAGS="$AM_CFLAGS -DWC_X25519_NONBLOCK"
10347
+
fi
10348
+
10337
10349
if test "$ENABLED_CURVE25519" = "no128bit" || test "$ENABLED_32BIT" = "yes"
Copy file name to clipboardExpand all lines: examples/configs/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ Example wolfSSL configuration file templates for use when autoconf is not availa
12
12
*`user_settings_espressif.h`: Example configuration for Espressif ESP32. See also [wolfSSL/IDE/Espressif](https://github.com/wolfSSL/wolfssl/tree/master/IDE/Espressif).
13
13
*`user_settings_fipsv2.h`: The FIPS v2 (3389) 140-2 certificate build options.
14
14
*`user_settings_fipsv5.h`: The FIPS v5 (ready) 140-3 build options. Equivalent to `./configure --enable-fips=v5-dev`.
15
+
*`user_settings_curve25519nonblock.h`: Example Curve25519 (X25519) non-blocking configuration.
15
16
*`user_settings_min_ecc.h`: Minimal ECC and SHA-256 only (no TLS). For ECC verify only add `NO_ECC_SIGN`.
16
17
*`user_settings_platformio.h`: An example for PlatformIO library. See also [platformio/wolfssl](https://registry.platformio.org/libraries/wolfssl/wolfssl).
17
18
*`user_settings_stm32.h`: Example configuration file generated from the wolfSSL STM32 Cube pack.
0 commit comments