From dca9951355194fdaf9c1c328e400f9140ce30f33 Mon Sep 17 00:00:00 2001 From: Andrew Hutchings Date: Fri, 20 Mar 2026 10:22:46 +0000 Subject: [PATCH] Fixup code comments in XMSS and LMS --- wolfssl/wolfcrypt/wc_lms.h | 4 ++-- wolfssl/wolfcrypt/wc_xmss.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wolfssl/wolfcrypt/wc_lms.h b/wolfssl/wolfcrypt/wc_lms.h index 18a13c8697..914ffa1371 100644 --- a/wolfssl/wolfcrypt/wc_lms.h +++ b/wolfssl/wolfcrypt/wc_lms.h @@ -95,8 +95,8 @@ #include #include -/* When hash struct internals are not accessible (hardware SHA acceleration), - * fall back to full hash API calls. */ +/* When raw hash access APIs are disabled or unavailable (WOLFSSL_NO_HASH_RAW), + * fall back to using the full hash API calls. */ #if defined(WOLFSSL_NO_HASH_RAW) && !defined(WC_LMS_FULL_HASH) #define WC_LMS_FULL_HASH #endif diff --git a/wolfssl/wolfcrypt/wc_xmss.h b/wolfssl/wolfcrypt/wc_xmss.h index c9b4265805..200cd4322e 100644 --- a/wolfssl/wolfcrypt/wc_xmss.h +++ b/wolfssl/wolfcrypt/wc_xmss.h @@ -34,8 +34,8 @@ #include #include -/* When hash struct internals are not accessible (hardware SHA acceleration), - * fall back to full hash API calls. */ +/* When raw hash access APIs are disabled or unavailable (WOLFSSL_NO_HASH_RAW), + * fall back to using the full hash API calls. */ #if defined(WOLFSSL_NO_HASH_RAW) && !defined(WC_XMSS_FULL_HASH) #define WC_XMSS_FULL_HASH #endif