aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2016-10-24 15:29:38 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-10-25 12:01:20 -0700
commitf73787b4a674a9fb9a65bbe9c9251954bf377df9 (patch)
tree70ba592ff4d485148fa242001cf5cccf8635000a
parent5e0c12af838f7c0f0cd0793cd8e35ef981fbf97b (diff)
downloadtpm2-f73787b4a674a9fb9a65bbe9c9251954bf377df9.tar.gz
Fix TPM Family capability reported value
The spec requires the TPM to report the ASCII representation of the specification version for the TPM_PT_FAMILY_INDICATOR property. BRANCH=none BUG=chrome-os-partner:58178 TEST=no actual tests performed yet Change-Id: Ied4c979cb585edaa2c73d95b5af8c3f9a2e051ce Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/402549 Reviewed-by: Andrey Pronin <apronin@chromium.org>
-rw-r--r--Tpm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tpm.h b/Tpm.h
index 97dfc40..5e3a91c 100644
--- a/Tpm.h
+++ b/Tpm.h
@@ -14,7 +14,7 @@
#include "swap.h"
// from the title page of the specification
-#define TPM_SPEC_FAMILY 0x200
+#define TPM_SPEC_FAMILY 0x322E3000 // This is 2.0 in ASCII
#define TPM_SPEC_LEVEL 0
#define TPM_SPEC_VERSION 116 // Major_revision * 100 + Minor_revision
#define TPM_SPEC_DAY_OF_YEAR 303