Kconfig (e1f5e01f4b035ced1c71b40866e4e5c0508fbb0b) Kconfig (38d192684e8b1811c352c208447d565f8f0a309f)
1# IBM Integrity Measurement Architecture
2#
3config IMA
4 bool "Integrity Measurement Architecture(IMA)"
5 select SECURITYFS
6 select CRYPTO
7 select CRYPTO_HMAC
8 select CRYPTO_MD5

--- 82 unchanged lines hidden (view full) ---

91 help
92 Select the default hash algorithm used for the measurement
93 list, integrity appraisal and audit log. The compiled default
94 hash algorithm can be overwritten using the kernel command
95 line 'ima_hash=' option.
96
97 config IMA_DEFAULT_HASH_SHA1
98 bool "SHA1 (default)"
1# IBM Integrity Measurement Architecture
2#
3config IMA
4 bool "Integrity Measurement Architecture(IMA)"
5 select SECURITYFS
6 select CRYPTO
7 select CRYPTO_HMAC
8 select CRYPTO_MD5

--- 82 unchanged lines hidden (view full) ---

91 help
92 Select the default hash algorithm used for the measurement
93 list, integrity appraisal and audit log. The compiled default
94 hash algorithm can be overwritten using the kernel command
95 line 'ima_hash=' option.
96
97 config IMA_DEFAULT_HASH_SHA1
98 bool "SHA1 (default)"
99 depends on CRYPTO_SHA1
99 depends on CRYPTO_SHA1=y
100
101 config IMA_DEFAULT_HASH_SHA256
102 bool "SHA256"
100
101 config IMA_DEFAULT_HASH_SHA256
102 bool "SHA256"
103 depends on CRYPTO_SHA256 && !IMA_TEMPLATE
103 depends on CRYPTO_SHA256=y && !IMA_TEMPLATE
104
105 config IMA_DEFAULT_HASH_SHA512
106 bool "SHA512"
104
105 config IMA_DEFAULT_HASH_SHA512
106 bool "SHA512"
107 depends on CRYPTO_SHA512 && !IMA_TEMPLATE
107 depends on CRYPTO_SHA512=y && !IMA_TEMPLATE
108
109 config IMA_DEFAULT_HASH_WP512
110 bool "WP512"
108
109 config IMA_DEFAULT_HASH_WP512
110 bool "WP512"
111 depends on CRYPTO_WP512 && !IMA_TEMPLATE
111 depends on CRYPTO_WP512=y && !IMA_TEMPLATE
112endchoice
113
114config IMA_DEFAULT_HASH
115 string
116 depends on IMA
117 default "sha1" if IMA_DEFAULT_HASH_SHA1
118 default "sha256" if IMA_DEFAULT_HASH_SHA256
119 default "sha512" if IMA_DEFAULT_HASH_SHA512

--- 110 unchanged lines hidden ---
112endchoice
113
114config IMA_DEFAULT_HASH
115 string
116 depends on IMA
117 default "sha1" if IMA_DEFAULT_HASH_SHA1
118 default "sha256" if IMA_DEFAULT_HASH_SHA256
119 default "sha512" if IMA_DEFAULT_HASH_SHA512

--- 110 unchanged lines hidden ---