summaryrefslogtreecommitdiff
path: root/firmware/lib/tpm_lite/include/tlcl_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/tpm_lite/include/tlcl_internal.h')
-rw-r--r--firmware/lib/tpm_lite/include/tlcl_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/lib/tpm_lite/include/tlcl_internal.h b/firmware/lib/tpm_lite/include/tlcl_internal.h
index 99932d67..5db556a8 100644
--- a/firmware/lib/tpm_lite/include/tlcl_internal.h
+++ b/firmware/lib/tpm_lite/include/tlcl_internal.h
@@ -15,6 +15,9 @@
#define kTpmReadInfoLength 12
#define kEncAuthLength 20
#define kPcrDigestLength 20
+#define kTpmRequestAuthBlockLength \
+ (sizeof(uint32_t) + sizeof(TPM_NONCE) + 1 + TPM_AUTH_DATA_LEN)
+#define kTpmResponseAuthBlockLength (sizeof(TPM_NONCE) + 1 + TPM_AUTH_DATA_LEN)
/*