Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbe5ad17 authored by Mimi Zohar's avatar Mimi Zohar Committed by James Morris
Browse files

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: default avatarStephen Rothwell <sfr@canb.auug.org.au&gt;,>
	     Randy Dunlap <rdunlap@xenotimenet>
Signed-off-by: default avatarMimi Zohar <zohar@us.ibm.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent 09f464bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
config EVM
	boolean "EVM support"
	depends on SECURITY && KEYS
	depends on SECURITY && KEYS && TCG_TPM
	select CRYPTO_HMAC
	select CRYPTO_MD5
	select CRYPTO_SHA1