wolfssl/wolfcrypt/settings.h: for WOLFCRYPT_FIPS_RAND, don't define USE_FAST_MATH, and make sure NO_BIG_INT is defined.

This commit is contained in:
Daniel Pouzzner
2025-03-22 22:21:23 -05:00
parent 3cad38a1ca
commit 29a0992ed5

View File

@ -2847,6 +2847,10 @@ extern void uITRON4_free(void *p) ;
/* default is SP Math. */
#define WOLFSSL_SP_MATH_ALL
#endif
#elif defined(WOLFCRYPT_FIPS_RAND)
#ifndef NO_BIG_INT
#define NO_BIG_INT
#endif
#else
/* FIPS 140-2 or older */
/* Default to fast math (tfm.c), but allow heap math (integer.c) */