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"
0 commit comments