Commit f94ce04e authored by Petr Pavlu's avatar Petr Pavlu Committed by Luis Chamberlain

module: Clean up the description of MODULE_SIG_<type>

The MODULE_SIG_<type> config choice has an inconsistent prompt styled as
a question and lengthy option names.

Simplify the prompt and option names to be consistent with other module
options.
Signed-off-by: default avatarPetr Pavlu <petr.pavlu@suse.com>
Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
parent c7ff693f
...@@ -228,7 +228,7 @@ comment "Do not forget to sign required modules with scripts/sign-file" ...@@ -228,7 +228,7 @@ comment "Do not forget to sign required modules with scripts/sign-file"
depends on MODULE_SIG_FORCE && !MODULE_SIG_ALL depends on MODULE_SIG_FORCE && !MODULE_SIG_ALL
choice choice
prompt "Which hash algorithm should modules be signed with?" prompt "Hash algorithm to sign modules"
depends on MODULE_SIG || IMA_APPRAISE_MODSIG depends on MODULE_SIG || IMA_APPRAISE_MODSIG
help help
This determines which sort of hashing algorithm will be used during This determines which sort of hashing algorithm will be used during
...@@ -238,31 +238,31 @@ choice ...@@ -238,31 +238,31 @@ choice
the signature on that module. the signature on that module.
config MODULE_SIG_SHA1 config MODULE_SIG_SHA1
bool "Sign modules with SHA-1" bool "SHA-1"
select CRYPTO_SHA1 select CRYPTO_SHA1
config MODULE_SIG_SHA256 config MODULE_SIG_SHA256
bool "Sign modules with SHA-256" bool "SHA-256"
select CRYPTO_SHA256 select CRYPTO_SHA256
config MODULE_SIG_SHA384 config MODULE_SIG_SHA384
bool "Sign modules with SHA-384" bool "SHA-384"
select CRYPTO_SHA512 select CRYPTO_SHA512
config MODULE_SIG_SHA512 config MODULE_SIG_SHA512
bool "Sign modules with SHA-512" bool "SHA-512"
select CRYPTO_SHA512 select CRYPTO_SHA512
config MODULE_SIG_SHA3_256 config MODULE_SIG_SHA3_256
bool "Sign modules with SHA3-256" bool "SHA3-256"
select CRYPTO_SHA3 select CRYPTO_SHA3
config MODULE_SIG_SHA3_384 config MODULE_SIG_SHA3_384
bool "Sign modules with SHA3-384" bool "SHA3-384"
select CRYPTO_SHA3 select CRYPTO_SHA3
config MODULE_SIG_SHA3_512 config MODULE_SIG_SHA3_512
bool "Sign modules with SHA3-512" bool "SHA3-512"
select CRYPTO_SHA3 select CRYPTO_SHA3
endchoice endchoice
......
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