TPM: increase default TPM buffer
authorRajiv Andrade <srajiv@linux.vnet.ibm.com>
Thu, 24 Sep 2009 19:27:46 +0000 (16:27 -0300)
committerJames Morris <jmorris@namei.org>
Thu, 24 Sep 2009 20:47:12 +0000 (13:47 -0700)
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>
drivers/char/tpm/tpm.c

index b0603b2..f4c68ab 100644 (file)
@@ -31,7 +31,7 @@
 
 enum tpm_const {
        TPM_MINOR = 224,        /* officially assigned */
-       TPM_BUFSIZE = 2048,
+       TPM_BUFSIZE = 4096,
        TPM_NUM_DEVICES = 256,
 };