Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

lib/crypto: sha: Update Kconfig help for SHA1 and SHA256

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>

+5 -5
+5 -5
lib/crypto/Kconfig
··· 140 140 config CRYPTO_LIB_SHA1 141 141 tristate 142 142 help 143 - The SHA-1 library functions. Select this if your module uses any of 144 - the functions from <crypto/sha1.h>. 143 + The SHA-1 and HMAC-SHA1 library functions. Select this if your module 144 + uses any of the functions from <crypto/sha1.h>. 145 145 146 146 config CRYPTO_LIB_SHA1_ARCH 147 147 bool ··· 157 157 config CRYPTO_LIB_SHA256 158 158 tristate 159 159 help 160 - Enable the SHA-256 library interface. This interface may be fulfilled 161 - by either the generic implementation or an arch-specific one, if one 162 - is available and enabled. 160 + The SHA-224, SHA-256, HMAC-SHA224, and HMAC-SHA256 library functions. 161 + Select this if your module uses any of these functions from 162 + <crypto/sha2.h>. 163 163 164 164 config CRYPTO_LIB_SHA256_ARCH 165 165 bool