xref: /linux-6.15/security/integrity/evm/Kconfig (revision d3b33679)
1config EVM
2	boolean "EVM support"
3	depends on SECURITY
4	select KEYS
5	select ENCRYPTED_KEYS
6	select CRYPTO_HMAC
7	select CRYPTO_SHA1
8	default n
9	help
10	  EVM protects a file's security extended attributes against
11	  integrity attacks.
12
13	  If you are unsure how to answer this question, answer N.
14
15if EVM
16
17menu "EVM options"
18
19config EVM_ATTR_FSUUID
20	bool "FSUUID (version 2)"
21	default y
22	depends on EVM
23	help
24	  Include filesystem UUID for HMAC calculation.
25
26	  Default value is 'selected', which is former version 2.
27	  if 'not selected', it is former version 1
28
29	  WARNING: changing the HMAC calculation method or adding
30	  additional info to the calculation, requires existing EVM
31	  labeled file systems to be relabeled.
32
33endmenu
34
35endif
36