You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Retire redundant WOLFSSL_WC_LMS and WOLFSSL_WC_XMSS macros
With external liblms/libxmss support removed, WOLFSSL_WC_LMS and
WOLFSSL_WC_XMSS no longer distinguish between backends - they are
tautologically equal to WOLFSSL_HAVE_LMS / WOLFSSL_HAVE_XMSS. Retire
them to avoid leaving dead vocabulary in the codebase.
- configure.ac: drop ENABLED_WC_LMS / ENABLED_WC_XMSS, stop defining
-DWOLFSSL_WC_LMS / -DWOLFSSL_WC_XMSS, rename BUILD_WC_LMS /
BUILD_WC_XMSS to BUILD_LMS / BUILD_XMSS, and remove the redundant
"LMS/XMSS wolfSSL impl" summary echo lines
- CMakeLists.txt: drop -DWOLFSSL_WC_LMS definition alongside HAVE_LMS
- src/include.am: rename guard conditionals to BUILD_LMS / BUILD_XMSS
- Collapse "#if defined(HAVE_LMS) && defined(WC_LMS)" guards in
wc_lms.c / wc_lms_impl.c / wc_lms.h and tests/api.c to just HAVE_LMS
- Drop the "#if !defined(WOLFSSL_WC_XMSS) #error" guard from wc_xmss.h
- settings.h: swap WC_LMS/WC_XMSS for HAVE_LMS/HAVE_XMSS in W64_WRAPPER
and int encode/decode feature triggers
- test.c/test.h: drop redundant WOLFSSL_WC_LMS clause from the
lms_test_verify_only gate
- benchmark.c: simplify "!defined(WOLFSSL_WC_LMS) || X" parameter-set
gates (keep just X) and remove an XMSS pub-len check that only ran on
the external backend
- user_settings_pq.h / user_settings_wolfboot_keytools.h: drop
WOLFSSL_WC_LMS / WOLFSSL_WC_XMSS defines
- ChangeLog: document the macro removal
https://claude.ai/code/session_01CEeSVaiiJ6ziyya3CCz5RK
0 commit comments