aboutsummaryrefslogtreecommitdiff
path: root/include/tss2
diff options
context:
space:
mode:
Diffstat (limited to 'include/tss2')
-rw-r--r--include/tss2/tss2_mu.h14
-rw-r--r--include/tss2/tss2_tpm2_types.h6
2 files changed, 20 insertions, 0 deletions
diff --git a/include/tss2/tss2_mu.h b/include/tss2/tss2_mu.h
index a9c25e19..7adec599 100644
--- a/include/tss2/tss2_mu.h
+++ b/include/tss2/tss2_mu.h
@@ -791,6 +791,20 @@ Tss2_MU_TPMS_TAGGED_PROPERTY_Unmarshal(
TPMS_TAGGED_PROPERTY *dest);
TSS2_RC
+Tss2_MU_TPMS_TAGGED_POLICY_Marshal(
+ TPMS_TAGGED_POLICY const *src,
+ uint8_t buffer[],
+ size_t buffer_size,
+ size_t *offset);
+
+TSS2_RC
+Tss2_MU_TPMS_TAGGED_POLICY_Unmarshal(
+ uint8_t const buffer[],
+ size_t buffer_size,
+ size_t *offset,
+ TPMS_TAGGED_POLICY *dest);
+
+TSS2_RC
Tss2_MU_TPMS_CLOCK_INFO_Marshal(
TPMS_CLOCK_INFO const *src,
uint8_t buffer[],
diff --git a/include/tss2/tss2_tpm2_types.h b/include/tss2/tss2_tpm2_types.h
index c1e79878..51550530 100644
--- a/include/tss2/tss2_tpm2_types.h
+++ b/include/tss2/tss2_tpm2_types.h
@@ -999,6 +999,12 @@ typedef struct {
BYTE pcrSelect[TPM2_PCR_SELECT_MAX]; /* the bit map of PCR with the identified property */
} TPMS_TAGGED_PCR_SELECT;
+/* Definition of TPMS_TAGGED_POLICY Structure */
+typedef struct {
+ TPM2_HANDLE handle;
+ TPMT_HA policyHash;
+} TPMS_TAGGED_POLICY;
+
/* Definition of TPML_CC Structure */
typedef struct {
UINT32 count; /* number of commands in the commandCode list may be 0 */