]> git.baikalelectronics.ru Git - kernel.git/commit
evm: add Kconfig TCG_TPM dependency
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 17 Aug 2011 22:51:36 +0000 (18:51 -0400)
committerJames Morris <jmorris@namei.org>
Thu, 18 Aug 2011 02:58:12 +0000 (12:58 +1000)
commitc8042c0958b54ad74ff88d1597ae20669e5e6787
tree60e4ae2f8b5d66faac484f5774d22290a51c21e4
parenta9eeeae2f41e428502b6e1c17fe6a0eb35826e04
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>
security/integrity/evm/Kconfig