]> www.infradead.org Git - users/griffoul/linux.git/commitdiff
lib/crypto: sha: Update Kconfig help for SHA1 and SHA256
authorEric Biggers <ebiggers@kernel.org>
Thu, 31 Jul 2025 22:42:18 +0000 (15:42 -0700)
committerEric Biggers <ebiggers@kernel.org>
Fri, 15 Aug 2025 01:00:47 +0000 (18:00 -0700)
Update the help text for CRYPTO_LIB_SHA1 and CRYPTO_LIB_SHA256 to
reflect the addition of HMAC support, and to be consistent with
CRYPTO_LIB_SHA512.

Link: https://lore.kernel.org/r/20250731224218.137947-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
lib/crypto/Kconfig

index c2b65b6a9bb6f3b3ddd53c16ff1c56115eb40b46..1e6b008f8fca453df056e453b9757071c5feabbc 100644 (file)
@@ -140,8 +140,8 @@ config CRYPTO_LIB_CHACHA20POLY1305
 config CRYPTO_LIB_SHA1
        tristate
        help
-         The SHA-1 library functions.  Select this if your module uses any of
-         the functions from <crypto/sha1.h>.
+         The SHA-1 and HMAC-SHA1 library functions.  Select this if your module
+         uses any of the functions from <crypto/sha1.h>.
 
 config CRYPTO_LIB_SHA1_ARCH
        bool
@@ -157,9 +157,9 @@ config CRYPTO_LIB_SHA1_ARCH
 config CRYPTO_LIB_SHA256
        tristate
        help
-         Enable the SHA-256 library interface. This interface may be fulfilled
-         by either the generic implementation or an arch-specific one, if one
-         is available and enabled.
+         The SHA-224, SHA-256, HMAC-SHA224, and HMAC-SHA256 library functions.
+         Select this if your module uses any of these functions from
+         <crypto/sha2.h>.
 
 config CRYPTO_LIB_SHA256_ARCH
        bool