Skip to content

Commit dbe5ad1

Browse files
Mimi Zoharxjamesmorris
authored andcommitted
evm: add Kconfig TCG_TPM dependency
Although the EVM encrypted-key should be encrypted/decrypted using a trusted-key, a user-defined key could be used instead. When using a user- defined key, a TCG_TPM dependency should not be required. Unfortunately, the encrypted-key code needs to be refactored a bit in order to remove this dependency. This patch adds the TCG_TPM dependency. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>, Randy Dunlap <rdunlap@xenotimenet> Signed-off-by: Mimi Zohar <zohar@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
1 parent 09f464b commit dbe5ad1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎security/integrity/evm/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
config EVM
22
boolean "EVM support"
3-
depends on SECURITY && KEYS
3+
depends on SECURITY && KEYS && TCG_TPM
44
select CRYPTO_HMAC
55
select CRYPTO_MD5
66
select CRYPTO_SHA1

0 commit comments

Comments
 (0)