mirror of https://github.com/wolfSSL/wolfssl.git
Merge pull request #7393 from philljj/xmss_w64_settings
Adjust wc_xmss and wc_lms settings to support wolfboot.pull/7423/head
commit
3113e6c855
|
@ -3352,11 +3352,19 @@ extern void uITRON4_free(void *p) ;
|
||||||
|
|
||||||
/* (D)TLS v1.3 requires 64-bit number wrappers as does XMSS and LMS. */
|
/* (D)TLS v1.3 requires 64-bit number wrappers as does XMSS and LMS. */
|
||||||
#if defined(WOLFSSL_TLS13) || defined(WOLFSSL_DTLS_DROP_STATS) || \
|
#if defined(WOLFSSL_TLS13) || defined(WOLFSSL_DTLS_DROP_STATS) || \
|
||||||
defined(WOLFSSL_WC_XMSS) || defined(WOLFSSL_WC_LMS)
|
(defined(WOLFSSL_WC_XMSS) && (!defined(WOLFSSL_XMSS_MAX_HEIGHT) || \
|
||||||
|
WOLFSSL_XMSS_MAX_HEIGHT > 32)) || (defined(WOLFSSL_WC_LMS) && \
|
||||||
|
!defined(WOLFSSL_LMS_VERIFY_ONLY))
|
||||||
#undef WOLFSSL_W64_WRAPPER
|
#undef WOLFSSL_W64_WRAPPER
|
||||||
#define WOLFSSL_W64_WRAPPER
|
#define WOLFSSL_W64_WRAPPER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* 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
|
||||||
|
|
||||||
/* DTLS v1.3 requires AES ECB if using AES */
|
/* DTLS v1.3 requires AES ECB if using AES */
|
||||||
#if defined(WOLFSSL_DTLS13) && !defined(NO_AES) && \
|
#if defined(WOLFSSL_DTLS13) && !defined(NO_AES) && \
|
||||||
!defined(WOLFSSL_AES_DIRECT)
|
!defined(WOLFSSL_AES_DIRECT)
|
||||||
|
|
Loading…
Reference in New Issue