Additional changes to support wolfboot wc_lms.

This commit is contained in:
jordan
2024-04-12 10:51:55 -05:00
parent 0c22f1f048
commit 6ae99485a1

View File

@ -3313,13 +3313,14 @@ extern void uITRON4_free(void *p) ;
/* (D)TLS v1.3 requires 64-bit number wrappers as does XMSS and LMS. */
#if defined(WOLFSSL_TLS13) || defined(WOLFSSL_DTLS_DROP_STATS) || \
(defined(WOLFSSL_WC_XMSS) && (!defined(WOLFSSL_XMSS_MAX_HEIGHT) || \
WOLFSSL_XMSS_MAX_HEIGHT > 32)) || defined(WOLFSSL_WC_LMS)
WOLFSSL_XMSS_MAX_HEIGHT > 32)) || (defined(WOLFSSL_WC_LMS) && \
!defined(WOLFSSL_LMS_VERIFY_ONLY))
#undef WOLFSSL_W64_WRAPPER
#define WOLFSSL_W64_WRAPPER
#endif
/* wc_xmss_impl requires these misc.c functions. */
#ifdef WOLFSSL_WC_XMSS
/* wc_xmss and wc_lms require these misc.c functions. */
#if defined(WOLFSSL_WC_XMSS) || defined(WOLFSSL_WC_LMS)
#undef WOLFSSL_NO_INT_ENCODE
#undef WOLFSSL_NO_INT_DECODE
#endif