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-rsa],[Enable RSA (default: enabled). Set to "nonblock" to enable non-blocking RSA via TFM fp_exptmod_nb or SP small mod_exp_nb])],
5419
5428
[ ENABLED_RSA=$enableval ],
5420
5429
[ ENABLED_RSA=yes ]
5421
5430
)
5422
5431
5423
5432
if test "$ENABLED_RSA" = "no"
5424
5433
then
5425
5434
AM_CFLAGS="$AM_CFLAGS -DNO_RSA"
5435
+
elif test "$ENABLED_RSA" = "nonblock"
5436
+
then
5437
+
AM_CFLAGS="$AM_CFLAGS -DWC_RSA_NONBLOCK"
5438
+
ENABLED_RSA=yes
5439
+
ENABLED_CERTS=yes
5440
+
# asynccrypt + asynccrypt-sw are auto-enabled earlier in this file when
5441
+
# --enable-rsa=nonblock is detected, so the TLS layer can pick up the
5442
+
# per-SSL nb context and yield MP_WOULDBLOCK. RSA_LOW_MEM is left as a
5443
+
# user choice - the SP non-block backend's compile-time check in
5444
+
# wolfssl/wolfcrypt/rsa.h enforces it for SP, while the TFM (fastmath)
5445
+
# backend supports the CRT path without it.
5426
5446
else
5427
5447
# turn off RSA if leanpsk or leantls on
5428
5448
if test "$ENABLED_LEANPSK" = "yes" || test "$ENABLED_LEANTLS" = "yes"
0 commit comments