Commit 4329720b authored by Vladislav Vaintroub's avatar Vladislav Vaintroub Committed by Oleksandr Byelkin

Fixes for WolfSSL 5.4.0

parent e5c4f4e5
...@@ -136,7 +136,8 @@ IF(WOLFSSL_FASTMATH) ...@@ -136,7 +136,8 @@ IF(WOLFSSL_FASTMATH)
PROPERTIES COMPILE_FLAGS ${TFM_COMPILE_FLAGS}) PROPERTIES COMPILE_FLAGS ${TFM_COMPILE_FLAGS})
ENDIF() ENDIF()
ELSE() ELSE()
SET(WOLFCRYPT_SOURCES ${WOLFCRYPT_SOURCES} ${WOLFCRYPT_SRCDIR}/integer.c) SET(WOLFSSL_SP_MATH_ALL 1)
SET(WOLFCRYPT_SOURCES ${WOLFCRYPT_SOURCES} ${WOLFCRYPT_SRCDIR}/sp_int.c)
ENDIF() ENDIF()
IF(WOLFSSL_X86_64_BUILD) IF(WOLFSSL_X86_64_BUILD)
......
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
WolfSSL will use more stack space with it, with fastmath WolfSSL will use more stack space with it, with fastmath
*/ */
#cmakedefine FP_MAX_BITS 16384 #cmakedefine FP_MAX_BITS 16384
#define RSA_MAX_SIZE 8192
#cmakedefine WOLFSSL_AESNI #cmakedefine WOLFSSL_AESNI
#cmakedefine USE_FAST_MATH #cmakedefine USE_FAST_MATH
#cmakedefine TFM_TIMING_RESISTANT #cmakedefine TFM_TIMING_RESISTANT
...@@ -55,5 +56,6 @@ ...@@ -55,5 +56,6 @@
#cmakedefine USE_INTEL_SPEEDUP #cmakedefine USE_INTEL_SPEEDUP
#cmakedefine USE_FAST_MATH #cmakedefine USE_FAST_MATH
#cmakedefine WOLFSSL_X86_64_BUILD #cmakedefine WOLFSSL_X86_64_BUILD
#cmakedefine WOLFSSL_SP_MATH_ALL
#endif /* WOLFSSL_USER_SETTINGS_H */ #endif /* WOLFSSL_USER_SETTINGS_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment