aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Fuchs <andreas.fuchs@sit.fraunhofer.de>2017-12-11 18:17:03 +0100
committerPhilip Tricca <philip.b.tricca@intel.com>2018-02-16 09:06:53 -0800
commitde85e2582ce80baacaf43e273fe95ed2d63871a8 (patch)
tree3abe91f6b81879c761d64c0054173a6462871acc /include
parent0b092af41d4ab934cd4367dc40f8e8cece9eea2a (diff)
downloadtpm2-tss-de85e2582ce80baacaf43e273fe95ed2d63871a8.tar.gz
TPM-Types: Add missing defines of spec 1.38
Add two new defines to TPM-Types that were introduced with TPM spec 1.38 and the corresponding latest TSS spec. Signed-off-by: Andreas Fuchs <andreas.fuchs@sit.fraunhofer.de>
Diffstat (limited to 'include')
-rw-r--r--include/sapi/tss2_tpm2_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sapi/tss2_tpm2_types.h b/include/sapi/tss2_tpm2_types.h
index 940deb1e..6086d1fc 100644
--- a/include/sapi/tss2_tpm2_types.h
+++ b/include/sapi/tss2_tpm2_types.h
@@ -794,6 +794,7 @@ typedef uint32_t TPMA_OBJECT;
#define TPMA_OBJECT_RESTRICTED 0x00010000
#define TPMA_OBJECT_DECRYPT 0x00020000
#define TPMA_OBJECT_SIGN 0x00040000
+#define TPMA_OBJECT_SIGN_ENCRYPT 0x00040000
#define TPMA_OBJECT_RESERVED5 0xFFF80000
@@ -1056,6 +1057,7 @@ typedef uint32_t TPMA_CC;
#endif
+#define TPMA_CC_COMMANDINDEX_SHIFT 0
#define TPMA_CC_COMMANDINDEX 0x0000FFFF
#define TPMA_CC_RESERVED1 0x003F0000
#define TPMA_CC_NV 0x00400000
@@ -1065,6 +1067,7 @@ typedef uint32_t TPMA_CC;
#define TPMA_CC_RHANDLE 0x10000000
#define TPMA_CC_V 0x20000000
#define TPMA_CC_RES 0xC0000000
+#define TPMA_CC_RES_SHIFT 30
/* Table 38 Definition of UINT32 TPMA_MODES Bits <Out> */