diff --git a/3rdparty/wolfssl/CMakeLists.txt b/3rdparty/wolfssl/CMakeLists.txt index e247b19854..94c9607042 100644 --- a/3rdparty/wolfssl/CMakeLists.txt +++ b/3rdparty/wolfssl/CMakeLists.txt @@ -19,7 +19,7 @@ else() set(WOLFSSL_CHACHA "yes" CACHE INTERNAL "") set(WOLFSSL_FILESYSTEM "yes" CACHE INTERNAL "") set(WOLFSSL_PWDBASED "yes" CACHE INTERNAL "") - set(WOLFSSL_FAST_MATH "no" CACHE INTERNAL "") + set(WOLFSSL_FAST_MATH "yes" CACHE INTERNAL "") set(WOLFSSL_EXAMPLES "no" CACHE INTERNAL "") set(WOLFSSL_CRYPT_TESTS "no" CACHE INTERNAL "") set(WOLFSSL_ASYNC_THREADS "no" CACHE INTERNAL "") diff --git a/3rdparty/wolfssl/extra/win32/user_settings.h b/3rdparty/wolfssl/extra/win32/user_settings.h index 4b84cd949d..64dc836eb0 100644 --- a/3rdparty/wolfssl/extra/win32/user_settings.h +++ b/3rdparty/wolfssl/extra/win32/user_settings.h @@ -43,6 +43,8 @@ #define HAVE_ECC #define ECC_SHAMIR #define ECC_TIMING_RESISTANT +#define USE_FAST_MATH +#define FP_MAX_BITS 8192 /* UTF-8 aware filesystem functions for Windows */ #define WOLFSSL_USER_FILESYSTEM