Skip to content

Commit 1ae8f41

Browse files
Dmitry KasatkinMimi Zohar
authored andcommitted
integrity: move asymmetric keys config option
For better visual appearance it is better to co-locate asymmetric key options together with signature support. Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
1 parent b4148db commit 1ae8f41

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

‎security/integrity/Kconfig‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ config INTEGRITY_SIGNATURE
1717
This is useful for evm and module keyrings, when keys are
1818
usually only added from initramfs.
1919

20+
config INTEGRITY_ASYMMETRIC_KEYS
21+
boolean "Enable asymmetric keys support"
22+
depends on INTEGRITY_SIGNATURE
23+
default n
24+
select ASYMMETRIC_KEY_TYPE
25+
select ASYMMETRIC_PUBLIC_KEY_SUBTYPE
26+
select PUBLIC_KEY_ALGO_RSA
27+
select X509_CERTIFICATE_PARSER
28+
help
29+
This option enables digital signature verification using
30+
asymmetric keys.
31+
2032
config INTEGRITY_AUDIT
2133
bool "Enables integrity auditing support "
2234
depends on INTEGRITY && AUDIT
@@ -32,17 +44,5 @@ config INTEGRITY_AUDIT
3244
be enabled by specifying 'integrity_audit=1' on the kernel
3345
command line.
3446

35-
config INTEGRITY_ASYMMETRIC_KEYS
36-
boolean "Enable asymmetric keys support"
37-
depends on INTEGRITY_SIGNATURE
38-
default n
39-
select ASYMMETRIC_KEY_TYPE
40-
select ASYMMETRIC_PUBLIC_KEY_SUBTYPE
41-
select PUBLIC_KEY_ALGO_RSA
42-
select X509_CERTIFICATE_PARSER
43-
help
44-
This option enables digital signature verification using
45-
asymmetric keys.
46-
4747
source security/integrity/ima/Kconfig
4848
source security/integrity/evm/Kconfig

0 commit comments

Comments
 (0)