lib/digsig: Use SHA-1 library instead of crypto_shash

Now that a SHA-1 library API is available, use it instead of
crypto_shash.  This is simpler and faster.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
Eric Biggers
2025-08-14 19:17:33 -07:00
committed by Mimi Zohar
parent 1376956c5e
commit 191cac349c
2 changed files with 7 additions and 42 deletions

View File

@@ -477,8 +477,7 @@ config MPILIB
config SIGNATURE
tristate
depends on KEYS
select CRYPTO
select CRYPTO_SHA1
select CRYPTO_LIB_SHA1
select MPILIB
help
Digital signature verification. Currently only RSA is supported.