Commit dbe5ad17ec62fbd3be7789f9a5ab71d23da8acf0

Authored by Mimi Zohar
Committed by James Morris
1 parent 09f464bf09

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

security/integrity/evm/Kconfig
1 1 config EVM
2 2 boolean "EVM support"
3   - depends on SECURITY && KEYS
  3 + depends on SECURITY && KEYS && TCG_TPM
4 4 select CRYPTO_HMAC
5 5 select CRYPTO_MD5
6 6 select CRYPTO_SHA1