aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Fuchs <andreas.fuchs@sit.fraunhofer.de>2018-03-16 14:07:15 +0100
committerPhilip Tricca <philip.b.tricca@intel.com>2018-03-16 10:34:48 -0700
commit3975a8924cb79065abeee8571adbf95142547907 (patch)
treeb338b80fe39a2bdc85f16dc18e64d3ae0e3ff2d7 /include
parent28164ade0e00c0177bec85f74440a36dbd7de877 (diff)
downloadtpm2-tss-3975a8924cb79065abeee8571adbf95142547907.tar.gz
SAPI: Remove old TPMA_OBJECT_SIGN define
TPMA_OBJECT_SIGN was renamed to TPMA_OBJECT_SIGN_ENCRYPT in the last spec revision. TPMA_OBJECT_SIGN_ENCRYPT was added at some point in the past. This now removes remaining usages of TPMA_OBJECT_SIGN. Fixes: #799 Signed-off-by: Andreas Fuchs <andreas.fuchs@sit.fraunhofer.de>
Diffstat (limited to 'include')
-rw-r--r--include/tss2/tss2_tpm2_types.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/tss2/tss2_tpm2_types.h b/include/tss2/tss2_tpm2_types.h
index 8e40bbe8..b5dacf77 100644
--- a/include/tss2/tss2_tpm2_types.h
+++ b/include/tss2/tss2_tpm2_types.h
@@ -708,8 +708,7 @@ typedef uint32_t TPMA_OBJECT;
#define TPMA_OBJECT_RESERVED4_MASK 0x0000F000 /* shall be zero */
#define TPMA_OBJECT_RESTRICTED 0x00010000 /* SET 1 Key usage is restricted to manipulate structures of known format the parent of this key shall have restricted SET.CLEAR 0 Key usage is not restricted to use on special formats. */
#define TPMA_OBJECT_DECRYPT 0x00020000 /* SET 1 The private portion of the key may be used to decrypt.CLEAR 0 The private portion of the key may not be used to decrypt. */
-#define TPMA_OBJECT_SIGN 0x00040000 /* SET 1 For a symmetric cipher object the private portion of the key may be used to encrypt. For other objects the private portion of the key may be used to sign.CLEAR 0 The private portion of the key may not be used to sign or encrypt. */
-#define TPMA_OBJECT_SIGN_ENCRYPT 0x00040000
+#define TPMA_OBJECT_SIGN_ENCRYPT 0x00040000 /* SET 1 For a symmetric cipher object the private portion of the key may be used to encrypt. For other objects the private portion of the key may be used to sign.CLEAR 0 The private portion of the key may not be used to sign or encrypt. */
#define TPMA_OBJECT_RESERVED5_MASK 0xFFF80000 /* shall be zero */
/* Definition of UINT8 TPMA_SESSION Bits <INOUT> */