Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cplappert committed Jul 3, 2024
1 parent 8dfb06e commit 3be1527
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
21 changes: 11 additions & 10 deletions include/tss2/tss2_mu.h
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ Tss2_MU_TPM2B_ECC_POINT_Unmarshal(
size_t *offset,
TPM2B_ECC_POINT *dest);


TSS2_RC
Tss2_MU_TPM2B_LABEL_Marshal(
TPM2B_LABEL const *src,
Expand Down Expand Up @@ -747,7 +748,7 @@ Tss2_MU_TPMS_DERIVE_Unmarshal(
uint8_t const buffer[],
size_t buffer_size,
size_t *offset,
TPMS_DERIVE *dest);
TPMS_DERIVE *dest);

TSS2_RC
Tss2_MU_TPMS_NV_PUBLIC_Marshal(
Expand Down Expand Up @@ -1701,7 +1702,7 @@ Tss2_MU_TPMU_PUBLIC_ID_DERIVE_Unmarshal(
size_t buffer_size,
size_t *offset,
uint32_t selector_value,
TPMU_PUBLIC_ID_DERIVE *dest);
TPMU_PUBLIC_ID_DERIVE *dest);

TSS2_RC
Tss2_MU_TPMU_NAME_Marshal(
Expand Down Expand Up @@ -1902,32 +1903,32 @@ Tss2_MU_TPMT_PUBLIC_Unmarshal(
TPMT_PUBLIC *dest);

TSS2_RC
Tss2_MU_TPMT_PUBLIC_DERIVE_Marshal(
TPMT_PUBLIC const *src,
Tss2_MU_TPMT_PUBLIC_PARMS_Marshal(
TPMT_PUBLIC_PARMS const *src,
uint8_t buffer[],
size_t buffer_size,
size_t *offset);

TSS2_RC
Tss2_MU_TPMT_PUBLIC_DERIVE_Unmarshal(
Tss2_MU_TPMT_PUBLIC_PARMS_Unmarshal(
uint8_t const buffer[],
size_t buffer_size,
size_t *offset,
TPMT_PUBLIC *dest);
TPMT_PUBLIC_PARMS *dest);

TSS2_RC
Tss2_MU_TPMT_PUBLIC_PARMS_Marshal(
TPMT_PUBLIC_PARMS const *src,
Tss2_MU_TPMT_PUBLIC_DERIVE_Marshal(
TPMT_PUBLIC const *src,
uint8_t buffer[],
size_t buffer_size,
size_t *offset);

TSS2_RC
Tss2_MU_TPMT_PUBLIC_PARMS_Unmarshal(
Tss2_MU_TPMT_PUBLIC_DERIVE_Unmarshal(
uint8_t const buffer[],
size_t buffer_size,
size_t *offset,
TPMT_PUBLIC_PARMS *dest);
TPMT_PUBLIC *dest);

TSS2_RC
Tss2_MU_TPMT_TK_CREATION_Marshal(
Expand Down
3 changes: 3 additions & 0 deletions lib/tss2-mu.def
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ EXPORTS
Tss2_MU_TPM2B_ENCRYPTED_SECRET_Unmarshal
Tss2_MU_TPM2B_ATTEST_Marshal
Tss2_MU_TPM2B_ATTEST_Unmarshal
Tss2_MU_TPM2B_LABEL_Marshal
Tss2_MU_TPM2B_MAX_BUFFER_Marshal
Tss2_MU_TPM2B_MAX_BUFFER_Unmarshal
Tss2_MU_TPM2B_MAX_CAP_BUFFER_Marshal
Expand All @@ -106,6 +107,7 @@ EXPORTS
Tss2_MU_TPMS_TIME_INFO_Unmarshal
Tss2_MU_TPMS_ECC_POINT_Marshal
Tss2_MU_TPMS_ECC_POINT_Unmarshal
Tss2_MU_TPMS_DERIVE_Marshal
Tss2_MU_TPMS_NV_PUBLIC_Marshal
Tss2_MU_TPMS_NV_PUBLIC_Unmarshal
Tss2_MU_TPMS_ALG_PROPERTY_Marshal
Expand Down Expand Up @@ -236,6 +238,7 @@ EXPORTS
Tss2_MU_TPMU_PUBLIC_PARMS_Unmarshal
Tss2_MU_TPMU_PUBLIC_ID_Marshal
Tss2_MU_TPMU_PUBLIC_ID_Unmarshal
Tss2_MU_TPMU_PUBLIC_ID_DERIVE_Marshal
Tss2_MU_TPMU_NAME_Marshal
Tss2_MU_TPMU_NAME_Unmarshal
Tss2_MU_TPMU_ENCRYPTED_SECRET_Marshal
Expand Down
3 changes: 3 additions & 0 deletions lib/tss2-mu.map
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
Tss2_MU_TPM2B_ENCRYPTED_SECRET_Unmarshal;
Tss2_MU_TPM2B_ATTEST_Marshal;
Tss2_MU_TPM2B_ATTEST_Unmarshal;
Tss2_MU_TPM2B_LABEL_Marshal;
Tss2_MU_TPM2B_MAX_BUFFER_Marshal;
Tss2_MU_TPM2B_MAX_BUFFER_Unmarshal;
Tss2_MU_TPM2B_MAX_CAP_BUFFER_Marshal;
Expand All @@ -106,6 +107,7 @@
Tss2_MU_TPMS_TIME_INFO_Unmarshal;
Tss2_MU_TPMS_ECC_POINT_Marshal;
Tss2_MU_TPMS_ECC_POINT_Unmarshal;
Tss2_MU_TPMS_DERIVE_Marshal;
Tss2_MU_TPMS_NV_PUBLIC_Marshal;
Tss2_MU_TPMS_NV_PUBLIC_Unmarshal;
Tss2_MU_TPMS_ALG_PROPERTY_Marshal;
Expand Down Expand Up @@ -236,6 +238,7 @@
Tss2_MU_TPMU_PUBLIC_PARMS_Unmarshal;
Tss2_MU_TPMU_PUBLIC_ID_Marshal;
Tss2_MU_TPMU_PUBLIC_ID_Unmarshal;
Tss2_MU_TPMU_PUBLIC_ID_DERIVE_Marshal;
Tss2_MU_TPMU_NAME_Marshal;
Tss2_MU_TPMU_NAME_Unmarshal;
Tss2_MU_TPMU_ENCRYPTED_SECRET_Marshal;
Expand Down
2 changes: 2 additions & 0 deletions src/tss2-mu/tpm2b-types.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,8 @@ TPM2B_MARSHAL (TPM2B_OPERAND);
TPM2B_UNMARSHAL(TPM2B_OPERAND, buffer);
TPM2B_MARSHAL (TPM2B_TEMPLATE);
TPM2B_UNMARSHAL(TPM2B_TEMPLATE, buffer);
TPM2B_MARSHAL (TPM2B_LABEL);
TPM2B_UNMARSHAL(TPM2B_LABEL, buffer);
TPM2B_MARSHAL(TPM2B_MAX_CAP_BUFFER);
TPM2B_UNMARSHAL(TPM2B_MAX_CAP_BUFFER, buffer);
TPM2B_MARSHAL_SUBTYPE(TPM2B_ECC_POINT, TPMS_ECC_POINT, point);
Expand Down

0 comments on commit 3be1527

Please sign in to comment.