Improve SP mp_dump to use macro.

This commit is contained in:
David Garske
2021-05-10 16:27:06 -07:00
parent 8c91a0c6b0
commit 7e69277680

View File

@ -979,11 +979,7 @@ WOLFSSL_API word32 CheckRunTimeFastMath(void);
#define mp_lcm sp_lcm
#ifdef WOLFSSL_DEBUG_MATH
static inline void mp_dump(const char* desc, mp_int* a, byte verbose)
{
sp_print(a, desc);
(void)verbose;
}
#define mp_dump(d, a, v) sp_print(a, d)
#endif
#endif /* WOLFSSL_SP_MATH || WOLFSSL_SP_MATH_ALL */