Skip to contentSkip to conversation

TPM: increase default TPM buffer

PATCH In review Rajiv Andrade 2 participants 2 messages Sep 24, 2009 TPM device driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 TPM: increase default TPM buffer

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.

---
 drivers/char/tpm/tpm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/char/tpm/tpm.c +1 -1
index b0603b2..f4c68ab 100644
@@ -31,7 +31,7 @@
 
 enum tpm_const {
 	TPM_MINOR = 224,	/* officially assigned */
-	TPM_BUFSIZE = 2048,
+	TPM_BUFSIZE = 4096,
 	TPM_NUM_DEVICES = 256,
 };
 
Signature · 1 line
1.6.3.1
#1 lore raw
Quoted 5 lines · Rajiv Andrade

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.

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

Signature · 2 lines
James Morris
<[email protected]>