Commit be440ec7 authored by Dmitry Kasatkin's avatar Dmitry Kasatkin Committed by James Morris

lib: digital signature dependency fix

Randy Dunlap reported build break:

ERROR: "crypto_alloc_shash" [lib/digsig.ko] undefined!
ERROR: "crypto_shash_final" [lib/digsig.ko] undefined!
ERROR: "crypto_shash_update" [lib/digsig.ko] undefined!
ERROR: "crypto_destroy_tfm" [lib/digsig.ko] undefined!

Added CRYPTO dependency and selected SHA1 algorithm.
Reported-by: 's avatarRandy Dunlap <>
Signed-off-by: 's avatarDmitry Kasatkin <>
Signed-off-by: 's avatarJames Morris <>
parent 5e8898e9
......@@ -304,7 +304,8 @@ config MPILIB_EXTRA
tristate "In-kernel signature checker"
depends on KEYS
depends on KEYS && CRYPTO
select CRYPTO_SHA1
select MPILIB
Digital signature verification. Currently only RSA is supported.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment