xref: /linux-6.15/security/integrity/evm/Kconfig (revision e0420039)
1config EVM
2	boolean "EVM support"
3	depends on SECURITY && KEYS && (TRUSTED_KEYS=y || TRUSTED_KEYS=n)
4	select CRYPTO_HMAC
5	select CRYPTO_SHA1
6	select ENCRYPTED_KEYS
7	default n
8	help
9	  EVM protects a file's security extended attributes against
10	  integrity attacks.
11
12	  If you are unsure how to answer this question, answer N.
13
14config EVM_HMAC_VERSION
15	int "EVM HMAC version"
16	depends on EVM
17	default 2
18	help
19	  This options adds EVM HMAC version support.
20	  1 - original version
21	  2 - add per filesystem unique identifier (UUID) (default)
22
23	  WARNING: changing the HMAC calculation method or adding
24	  additional info to the calculation, requires existing EVM
25	  labeled file systems to be relabeled.
26