Skip to content

Commit

Permalink
evm: add Kconfig TCG_TPM dependency
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mimi Zohar authored and James Morris committed Aug 18, 2011
1 parent 09f464b commit dbe5ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/integrity/evm/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config EVM
boolean "EVM support"
depends on SECURITY && KEYS
depends on SECURITY && KEYS && TCG_TPM
select CRYPTO_HMAC
select CRYPTO_MD5
select CRYPTO_SHA1
Expand Down

0 comments on commit dbe5ad1

Please sign in to comment.