lib/crypto: sha: Update Kconfig help for SHA1 and SHA256
Subsystems (2)
Eric Biggers
maintainerPATCH 1/1 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.
Signed-off-by Eric Biggers <[email protected]>
--- lib/crypto/Kconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
lib/crypto/Kconfig +5 -5
@@ -138,12 +138,12 @@ config CRYPTO_LIB_CHACHA20POLY1305 select CRYPTO_LIB_UTILS 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 depends on CRYPTO_LIB_SHA1 && !UML default y if ARM
@@ -155,13 +155,13 @@ config CRYPTO_LIB_SHA1_ARCH default y if X86_64 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 depends on CRYPTO_LIB_SHA256 && !UML default y if ARM && !CPU_V7M
base-commit: d6084bb815c453de27af8071a23163a711586a6c
Signature · 1 line
2.50.1
Quoted 8 lines · Eric Biggers
Update the help text for
CRYPTO_LIB_SHA1andCRYPTO_LIB_SHA256to reflect the addition of HMAC support, and to be consistent withCRYPTO_LIB_SHA512.Signed-off-by Eric Biggers <[email protected]>--- lib/crypto/Kconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next
- Eric