blob: 4bb3a775a996041c02fe6db7373e340e73a5f7ac [file] [log] [blame]
Mimi Zoharf381c272011-03-09 14:13:22 -05001#
2config INTEGRITY
3 def_bool y
Mimi Zohar66dbc3252011-03-15 16:12:09 -04004 depends on IMA || EVM
Mimi Zoharf381c272011-03-09 14:13:22 -05005
Dmitry Kasatkinf1be2422012-01-17 17:12:07 +02006config INTEGRITY_SIGNATURE
Dmitry Kasatkin8607c502011-10-05 11:54:46 +03007 boolean "Digital signature verification using multiple keyrings"
Dmitry Kasatkinde353532011-11-21 17:31:15 +02008 depends on INTEGRITY && KEYS
Dmitry Kasatkin8607c502011-10-05 11:54:46 +03009 default n
Dmitry Kasatkin5e8898e2012-01-17 17:12:03 +020010 select SIGNATURE
Dmitry Kasatkin8607c502011-10-05 11:54:46 +030011 help
12 This option enables digital signature verification support
13 using multiple keyrings. It defines separate keyrings for each
14 of the different use cases - evm, ima, and modules.
15 Different keyrings improves search performance, but also allow
16 to "lock" certain keyring to prevent adding new keys.
17 This is useful for evm and module keyrings, when keys are
18 usually only added from initramfs.
19
Dmitry Kasatkine0751252013-02-07 00:12:08 +020020config 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
Mimi Zoharf381c272011-03-09 14:13:22 -050032source security/integrity/ima/Kconfig
Mimi Zohar66dbc3252011-03-15 16:12:09 -040033source security/integrity/evm/Kconfig