File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -639,7 +639,6 @@ WC_DILITHIUM_FIXED_ARRAY
639639WC_DISABLE_RADIX_ZERO_PAD
640640WC_FLAG_DONT_USE_AESNI
641641WC_FORCE_LINUXKM_FORTIFY_SOURCE
642- WC_LMS_FULL_HASH
643642WC_NO_ASYNC_SLEEP
644643WC_NO_RNG_SIMPLE
645644WC_NO_STATIC_ASSERT
@@ -659,7 +658,6 @@ WC_SSIZE_TYPE
659658WC_STRICT_SIG
660659WC_USE_PIE_FENCEPOSTS_FOR_FIPS
661660WC_WANT_FLAG_DONT_USE_VECTOR_OPS
662- WC_XMSS_FULL_HASH
663661WIFIESPAT
664662WIFI_101
665663WIFI_AVAILABLE
Original file line number Diff line number Diff line change 9595#include <wolfssl/wolfcrypt/lms.h>
9696#include <wolfssl/wolfcrypt/sha256.h>
9797
98+ /* When raw hash access APIs are disabled or unavailable (WOLFSSL_NO_HASH_RAW),
99+ * fall back to using the full hash API calls. */
100+ #if defined(WOLFSSL_NO_HASH_RAW ) && !defined(WC_LMS_FULL_HASH )
101+ #define WC_LMS_FULL_HASH
102+ #endif
103+
98104#ifdef WOLFSSL_LMS_MAX_LEVELS
99105 /* Maximum number of levels of trees supported by implementation. */
100106 #define LMS_MAX_LEVELS WOLFSSL_LMS_MAX_LEVELS
Original file line number Diff line number Diff line change 3434#include <wolfssl/wolfcrypt/sha512.h>
3535#include <wolfssl/wolfcrypt/sha3.h>
3636
37+ /* When raw hash access APIs are disabled or unavailable (WOLFSSL_NO_HASH_RAW),
38+ * fall back to using the full hash API calls. */
39+ #if defined(WOLFSSL_NO_HASH_RAW ) && !defined(WC_XMSS_FULL_HASH )
40+ #define WC_XMSS_FULL_HASH
41+ #endif
42+
3743#if !defined(WOLFSSL_WC_XMSS )
3844 #error "This code is incompatible with external implementation of XMSS."
3945#endif
You can’t perform that action at this time.
0 commit comments