* [PATCH] lib/crypto: sha: Update Kconfig help for SHA1 and SHA256
@ 2025-07-31 22:42 Eric Biggers
2025-08-11 17:59 ` Eric Biggers
0 siblings, 1 reply; 2+ messages in thread
From: Eric Biggers @ 2025-07-31 22:42 UTC (permalink / raw)
To: linux-crypto; +Cc: Ard Biesheuvel, Jason A . Donenfeld, Eric Biggers
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 <ebiggers@kernel.org>
---
lib/crypto/Kconfig | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig
index c2b65b6a9bb6f..1e6b008f8fca4 100644
--- a/lib/crypto/Kconfig
+++ b/lib/crypto/Kconfig
@@ -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
--
2.50.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] lib/crypto: sha: Update Kconfig help for SHA1 and SHA256
2025-07-31 22:42 [PATCH] lib/crypto: sha: Update Kconfig help for SHA1 and SHA256 Eric Biggers
@ 2025-08-11 17:59 ` Eric Biggers
0 siblings, 0 replies; 2+ messages in thread
From: Eric Biggers @ 2025-08-11 17:59 UTC (permalink / raw)
To: linux-crypto; +Cc: Ard Biesheuvel, Jason A . Donenfeld
On Thu, Jul 31, 2025 at 03:42:18PM -0700, Eric Biggers wrote:
> 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 <ebiggers@kernel.org>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-11 18:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-31 22:42 [PATCH] lib/crypto: sha: Update Kconfig help for SHA1 and SHA256 Eric Biggers
2025-08-11 17:59 ` Eric Biggers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox