Skip to content

Commit dca9951

Browse files
committed
Fixup code comments in XMSS and LMS
1 parent 4bd0658 commit dca9951

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

wolfssl/wolfcrypt/wc_lms.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@
9595
#include <wolfssl/wolfcrypt/lms.h>
9696
#include <wolfssl/wolfcrypt/sha256.h>
9797

98-
/* When hash struct internals are not accessible (hardware SHA acceleration),
99-
* fall back to full hash API calls. */
98+
/* When raw hash access APIs are disabled or unavailable (WOLFSSL_NO_HASH_RAW),
99+
* fall back to using the full hash API calls. */
100100
#if defined(WOLFSSL_NO_HASH_RAW) && !defined(WC_LMS_FULL_HASH)
101101
#define WC_LMS_FULL_HASH
102102
#endif

wolfssl/wolfcrypt/wc_xmss.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
#include <wolfssl/wolfcrypt/sha512.h>
3535
#include <wolfssl/wolfcrypt/sha3.h>
3636

37-
/* When hash struct internals are not accessible (hardware SHA acceleration),
38-
* fall back to full hash API calls. */
37+
/* When raw hash access APIs are disabled or unavailable (WOLFSSL_NO_HASH_RAW),
38+
* fall back to using the full hash API calls. */
3939
#if defined(WOLFSSL_NO_HASH_RAW) && !defined(WC_XMSS_FULL_HASH)
4040
#define WC_XMSS_FULL_HASH
4141
#endif

0 commit comments

Comments
 (0)