Skip to content

Commit f94ce04

Browse files
petrpavlumcgrof
authored andcommitted
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: Petr Pavlu <[email protected]> Signed-off-by: Luis Chamberlain <[email protected]>
1 parent c7ff693 commit f94ce04

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

kernel/module/Kconfig

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ comment "Do not forget to sign required modules with scripts/sign-file"
228228
depends on MODULE_SIG_FORCE && !MODULE_SIG_ALL
229229

230230
choice
231-
prompt "Which hash algorithm should modules be signed with?"
231+
prompt "Hash algorithm to sign modules"
232232
depends on MODULE_SIG || IMA_APPRAISE_MODSIG
233233
help
234234
This determines which sort of hashing algorithm will be used during
@@ -238,31 +238,31 @@ choice
238238
the signature on that module.
239239

240240
config MODULE_SIG_SHA1
241-
bool "Sign modules with SHA-1"
241+
bool "SHA-1"
242242
select CRYPTO_SHA1
243243

244244
config MODULE_SIG_SHA256
245-
bool "Sign modules with SHA-256"
245+
bool "SHA-256"
246246
select CRYPTO_SHA256
247247

248248
config MODULE_SIG_SHA384
249-
bool "Sign modules with SHA-384"
249+
bool "SHA-384"
250250
select CRYPTO_SHA512
251251

252252
config MODULE_SIG_SHA512
253-
bool "Sign modules with SHA-512"
253+
bool "SHA-512"
254254
select CRYPTO_SHA512
255255

256256
config MODULE_SIG_SHA3_256
257-
bool "Sign modules with SHA3-256"
257+
bool "SHA3-256"
258258
select CRYPTO_SHA3
259259

260260
config MODULE_SIG_SHA3_384
261-
bool "Sign modules with SHA3-384"
261+
bool "SHA3-384"
262262
select CRYPTO_SHA3
263263

264264
config MODULE_SIG_SHA3_512
265-
bool "Sign modules with SHA3-512"
265+
bool "SHA3-512"
266266
select CRYPTO_SHA3
267267

268268
endchoice

0 commit comments

Comments
 (0)