Skip to content

Commit d73915f

Browse files
author
Eric Biggers
committed
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/[email protected] Signed-off-by: Eric Biggers <[email protected]>
1 parent 8f5ae30 commit d73915f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/crypto/Kconfig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ config CRYPTO_LIB_CHACHA20POLY1305
140140
config CRYPTO_LIB_SHA1
141141
tristate
142142
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>.
145145

146146
config CRYPTO_LIB_SHA1_ARCH
147147
bool
@@ -157,9 +157,9 @@ config CRYPTO_LIB_SHA1_ARCH
157157
config CRYPTO_LIB_SHA256
158158
tristate
159159
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>.
163163

164164
config CRYPTO_LIB_SHA256_ARCH
165165
bool

0 commit comments

Comments
 (0)