summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorRajiv Andrade <srajiv@linux.vnet.ibm.com>2009-09-24 16:27:46 -0300
committerJames Morris <jmorris@namei.org>2009-09-24 13:47:12 -0700
commit7f366784f5c2b8fc0658b5b374f4c63ee42c789f (patch)
tree7b0f60ae59ac00cc0fcae48bc2ecc89f809ee8f6 /drivers/char
parent86d710146fb9975f04c505ec78caa43d227c1018 (diff)
downloadkernel-crypto-7f366784f5c2b8fc0658b5b374f4c63ee42c789f.tar.gz
kernel-crypto-7f366784f5c2b8fc0658b5b374f4c63ee42c789f.tar.xz
kernel-crypto-7f366784f5c2b8fc0658b5b374f4c63ee42c789f.zip
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')
-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 b0603b2e568..f4c68abf2a1 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,
};