mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
Merge pull request #3826 from tmael/ecc_err
WOLFSSL_STATIC_MEMORY no longer requires fast math
This commit is contained in:
@@ -2996,7 +2996,7 @@ int sp_cmp_d(sp_int* a, sp_int_digit d)
|
||||
#endif
|
||||
|
||||
#if defined(WOLFSSL_SP_INT_NEGATIVE) || !defined(NO_PWDBASED) || \
|
||||
defined(WOLFSSL_KEY_GEN) || !defined(NO_DH) || defined(HAVE_ECC) || \
|
||||
defined(WOLFSSL_KEY_GEN) || !defined(NO_DH) || \
|
||||
(!defined(NO_RSA) && !defined(WOLFSSL_RSA_VERIFY_ONLY))
|
||||
/* Add a one digit number to the multi-precision number.
|
||||
*
|
||||
|
@@ -2096,8 +2096,9 @@ extern void uITRON4_free(void *p) ;
|
||||
#if defined(HAVE_IO_POOL) || defined(XMALLOC_USER) || defined(NO_WOLFSSL_MEMORY)
|
||||
#error static memory cannot be used with HAVE_IO_POOL, XMALLOC_USER or NO_WOLFSSL_MEMORY
|
||||
#endif
|
||||
#if !defined(USE_FAST_MATH) && !defined(NO_BIG_INT)
|
||||
#error static memory requires fast math please define USE_FAST_MATH
|
||||
#if !defined(WOLFSSL_SP_NO_MALLOC) && \
|
||||
!defined(USE_FAST_MATH) && !defined(NO_BIG_INT)
|
||||
#error The static memory option is only supported for fast math or SP with no malloc
|
||||
#endif
|
||||
#ifdef WOLFSSL_SMALL_STACK
|
||||
#error static memory does not support small stack please undefine
|
||||
|
Reference in New Issue
Block a user