mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] TPM: increase default TPM buffer
@ 2009-09-24 19:27 Rajiv Andrade
  2009-09-24 20:48 ` James Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Rajiv Andrade @ 2009-09-24 19:27 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, jmorris

The TPM Working Group requested this communication buffer increase given that a
particular TPM vendor can support a TPM_SHA1Start command input bigger than the
current size.

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
---
 drivers/char/tpm/tpm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/tpm/tpm.c b/drivers/char/tpm/tpm.c
index b0603b2..f4c68ab 100644
--- a/drivers/char/tpm/tpm.c
+++ b/drivers/char/tpm/tpm.c
@@ -31,7 +31,7 @@
 
 enum tpm_const {
 	TPM_MINOR = 224,	/* officially assigned */
-	TPM_BUFSIZE = 2048,
+	TPM_BUFSIZE = 4096,
 	TPM_NUM_DEVICES = 256,
 };
 
-- 
1.6.3.1




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] TPM: increase default TPM buffer
  2009-09-24 19:27 [PATCH] TPM: increase default TPM buffer Rajiv Andrade
@ 2009-09-24 20:48 ` James Morris
  0 siblings, 0 replies; 2+ messages in thread
From: James Morris @ 2009-09-24 20:48 UTC (permalink / raw)
  To: Rajiv Andrade; +Cc: linux-kernel, akpm

On Thu, 24 Sep 2009, Rajiv Andrade wrote:

> The TPM Working Group requested this communication buffer increase given that a
> particular TPM vendor can support a TPM_SHA1Start command input bigger than the
> current size.
> 
> Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>


Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next


-- 
James Morris
<jmorris@namei.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-24 20:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-24 19:27 [PATCH] TPM: increase default TPM buffer Rajiv Andrade
2009-09-24 20:48 ` James Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®