public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Mimi Zohar <zohar@linux•vnet.ibm.com>
To: linux-security-module@vger•kernel.org
Cc: Mimi Zohar <zohar@linux•vnet.ibm.com>,
	linux-next@vger•kernel.org, linux-kernel@vger•kernel.org,
	James Morris <jmorris@namei•org>,
	Stephen Rothwell <sfr@canb•auug.org.au>,
	Randy Dunlap <rdunlap@xenotime•net>,
	David Safford <safford@watson•ibm.com>,
	Mimi Zohar <zohar@us•ibm.com>
Subject: [PATCH] evm: add Kconfig TCG_TPM dependency
Date: Wed, 17 Aug 2011 18:51:36 -0400	[thread overview]
Message-ID: <1313621496-8308-1-git-send-email-zohar@linux.vnet.ibm.com> (raw)

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>
---
 security/integrity/evm/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/security/integrity/evm/Kconfig b/security/integrity/evm/Kconfig
index 444877d..884617d 100644
--- a/security/integrity/evm/Kconfig
+++ b/security/integrity/evm/Kconfig
@@ -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
-- 
1.7.3.4


             reply	other threads:[~2011-08-17 22:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-17 22:51 Mimi Zohar [this message]
2011-08-18  2:58 ` [PATCH] evm: add Kconfig TCG_TPM dependency James Morris
2011-08-18 17:38 ` Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1313621496-8308-1-git-send-email-zohar@linux.vnet.ibm.com \
    --to=zohar@linux$(echo .)vnet.ibm.com \
    --cc=jmorris@namei$(echo .)org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=linux-security-module@vger$(echo .)kernel.org \
    --cc=rdunlap@xenotime$(echo .)net \
    --cc=safford@watson$(echo .)ibm.com \
    --cc=sfr@canb$(echo .)auug.org.au \
    --cc=zohar@us$(echo .)ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox