summaryrefslogtreecommitdiff
path: root/drivers/char/tpm
diff options
context:
space:
mode:
authorRajiv Andrade <srajiv@linux.vnet.ibm.com>2009-09-24 23:27:46 +0400
committerJames Morris <jmorris@namei.org>2009-09-25 00:47:12 +0400
commit7f366784f5c2b8fc0658b5b374f4c63ee42c789f (patch)
tree7b0f60ae59ac00cc0fcae48bc2ecc89f809ee8f6 /drivers/char/tpm
parent86d710146fb9975f04c505ec78caa43d227c1018 (diff)
downloadlinux-7f366784f5c2b8fc0658b5b374f4c63ee42c789f.tar.xz
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. Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'drivers/char/tpm')
-rw-r--r--drivers/char/tpm/tpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm.c b/drivers/char/tpm/tpm.c
index b0603b2e5684..f4c68abf2a15 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,
};