Allow SP_MATH (not _ALL) if MAX3266X_MATH not enabled

This commit is contained in:
Mattia Moffa
2026-06-20 04:35:03 +02:00
parent 9ec65ed418
commit 0ec9f54d12
+2 -1
View File
@@ -50,7 +50,8 @@
#error MXC Not Compatible with Fast Math or Heap Math
#include <wolfssl/wolfcrypt/tfm.h>
#define MXC_WORD_SIZE DIGIT_BIT
#elif defined(WOLFSSL_SP_MATH_ALL)
#elif defined(WOLFSSL_SP_MATH_ALL) || \
(defined(WOLFSSL_SP_MATH) && !defined(MAX3266X_MATH))
#include <wolfssl/wolfcrypt/sp_int.h>
#define MXC_WORD_SIZE SP_WORD_SIZE
#else