Enable wolfSSL SP Math all (sp_int.c) by default. If --enable-fastmath or USE_FAST_MATH is set the older tfm.c fast math will be used. To use the old integer.c heap math use --enable-heapmath or USE_INTEGER_HEAP_MATH.

This commit is contained in:
David Garske
2022-01-14 14:02:55 -08:00
committed by Sean Parkinson
parent fb704774a0
commit 6d2a41b9fd
8 changed files with 140 additions and 80 deletions

View File

@@ -43,7 +43,7 @@
#ifndef NO_BIG_INT
#ifndef USE_FAST_MATH
#if !defined(USE_FAST_MATH) && defined(USE_INTEGER_HEAP_MATH)
#ifndef WOLFSSL_SP_MATH
@@ -5483,6 +5483,6 @@ void mp_dump(const char* desc, mp_int* a, byte verbose)
#endif /* WOLFSSL_SP_MATH */
#endif /* USE_FAST_MATH */
#endif /* !USE_FAST_MATH && USE_INTEGER_HEAP_MATH */
#endif /* NO_BIG_INT */