mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-09-18 23:09:29 +02:00
module: enable automatic module signing with FIPS 202 SHA-3
Add Kconfig options to use SHA-3 for kernel module signing. 256 size for RSA only, and higher sizes for RSA and NIST P-384. Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
committed by
Herbert Xu
parent
fdb4f66c95
commit
446b1e0b7b
+1
-1
@@ -30,7 +30,7 @@ config MODULE_SIG_KEY_TYPE_RSA
|
||||
config MODULE_SIG_KEY_TYPE_ECDSA
|
||||
bool "ECDSA"
|
||||
select CRYPTO_ECDSA
|
||||
depends on MODULE_SIG_SHA384 || MODULE_SIG_SHA512
|
||||
depends on !(MODULE_SIG_SHA256 || MODULE_SIG_SHA3_256)
|
||||
help
|
||||
Use an elliptic curve key (NIST P384) for module signing. Use
|
||||
a strong hash of same or higher bit length, i.e. sha384 or
|
||||
|
||||
Reference in New Issue
Block a user