mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
The vtpm2 ABI supports packets of up to 4088 bytes by default; expose this property though the TPM's interface so clients do not attempt to send larger packets. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
14 lines
353 B
Diff
14 lines
353 B
Diff
diff --git a/config.h.in b/config.h.in
|
|
index d16a997..8088a2a 100644
|
|
--- a/config.h.in
|
|
+++ b/config.h.in
|
|
@@ -27,7 +27,7 @@
|
|
#define TPM_STORAGE_NAME "${TPM_STORAGE_NAME}"
|
|
#define TPM_DEVICE_NAME "${TPM_DEVICE_NAME}"
|
|
#define TPM_LOG_FILE "${TPM_LOG_FILE}"
|
|
-#define TPM_CMD_BUF_SIZE 4096
|
|
+#define TPM_CMD_BUF_SIZE 4088
|
|
|
|
#endif /* _CONFIG_H_ */
|
|
|