92/* fast math (tfmc.) (stack based and timing resistant) */
93 #define USE_FAST_MATH
94 #define TFM_TIMING_RESISTANT
95#else
96/* normal heap based integer.c (not timing resistant) */
97#endif
98
99/* Wolf Single Precision Math */
100#undef WOLFSSL_SP
101#if 1
102 #define WOLFSSL_SP
103 #define WOLFSSL_HAVE_SP_RSA
104 #define WOLFSSL_HAVE_SP_DH
105 #define WOLFSSL_HAVE_SP_ECC
106// #define WOLFSSL_SP_4096 /* Enable RSA/DH 4096-bit support. DISABLED: with WOLFSSL_SP_SMALL off (unrolled SP for speed), the unrolled SP-4096 modexp is very stack-heavy and overflows the default MAIN_TASK_STK_SIZE on deep RSA call chains (e.g. the unit tests). 4096-bit keys still work via the generic SP_MATH_ALL path. If you re-enable this, also raise MAIN_TASK_STK_SIZE (and any task that does RSA-4096) by several KB. */
107 #define WOLFSSL_SP_384 /* Enable ECC 384-bit SECP384R1 support */