xref: /openbmc/linux/security/integrity/Kconfig (revision e0751257)
1f381c272SMimi Zohar#
2f381c272SMimi Zoharconfig INTEGRITY
3f381c272SMimi Zohar	def_bool y
466dbc325SMimi Zohar	depends on IMA || EVM
5f381c272SMimi Zohar
6f1be242cSDmitry Kasatkinconfig INTEGRITY_SIGNATURE
78607c501SDmitry Kasatkin	boolean "Digital signature verification using multiple keyrings"
8de353533SDmitry Kasatkin	depends on INTEGRITY && KEYS
98607c501SDmitry Kasatkin	default n
105e8898e9SDmitry Kasatkin	select SIGNATURE
118607c501SDmitry Kasatkin	help
128607c501SDmitry Kasatkin	  This option enables digital signature verification support
138607c501SDmitry Kasatkin	  using multiple keyrings. It defines separate keyrings for each
148607c501SDmitry Kasatkin	  of the different use cases - evm, ima, and modules.
158607c501SDmitry Kasatkin	  Different keyrings improves search performance, but also allow
168607c501SDmitry Kasatkin	  to "lock" certain keyring to prevent adding new keys.
178607c501SDmitry Kasatkin	  This is useful for evm and module keyrings, when keys are
188607c501SDmitry Kasatkin	  usually only added from initramfs.
198607c501SDmitry Kasatkin
20e0751257SDmitry Kasatkinconfig INTEGRITY_ASYMMETRIC_KEYS
21e0751257SDmitry Kasatkin	boolean "Enable asymmetric keys support"
22e0751257SDmitry Kasatkin	depends on INTEGRITY_SIGNATURE
23e0751257SDmitry Kasatkin	default n
24e0751257SDmitry Kasatkin        select ASYMMETRIC_KEY_TYPE
25e0751257SDmitry Kasatkin        select ASYMMETRIC_PUBLIC_KEY_SUBTYPE
26e0751257SDmitry Kasatkin        select PUBLIC_KEY_ALGO_RSA
27e0751257SDmitry Kasatkin        select X509_CERTIFICATE_PARSER
28e0751257SDmitry Kasatkin	help
29e0751257SDmitry Kasatkin	  This option enables digital signature verification using
30e0751257SDmitry Kasatkin	  asymmetric keys.
31e0751257SDmitry Kasatkin
32f381c272SMimi Zoharsource security/integrity/ima/Kconfig
3366dbc325SMimi Zoharsource security/integrity/evm/Kconfig
34