mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
tpm2: drop unused structures
Some structures were included in tpm2_tlcl_structures.h but are not needed for tpm2 commands used by coreboot. Drop them from the include file. BRANCH=none BUG=none TEST=coreboot image for gru/kevin still builds fine. Change-Id: I89b46900e5356989f2683d671552ecca5103ef90 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/358093 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
bfa31684a1
commit
9375eef5a3
1 changed files with 0 additions and 22 deletions
|
@ -47,28 +47,6 @@ typedef struct {
|
||||||
uint8_t *buffer;
|
uint8_t *buffer;
|
||||||
} TPM2B;
|
} TPM2B;
|
||||||
|
|
||||||
typedef union {
|
|
||||||
uint8_t body[512];
|
|
||||||
} TPMU_HA;
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
TPMI_ALG_HASH hashAlg;
|
|
||||||
TPMU_HA digest;
|
|
||||||
} TPMT_HA;
|
|
||||||
|
|
||||||
typedef union {
|
|
||||||
TPMT_HA digest;
|
|
||||||
TPM_HANDLE handle;
|
|
||||||
} TPMU_NAME;
|
|
||||||
|
|
||||||
typedef union {
|
|
||||||
struct {
|
|
||||||
uint16_t size;
|
|
||||||
uint8_t name[sizeof(TPMU_NAME)];
|
|
||||||
} t;
|
|
||||||
TPM2B b;
|
|
||||||
} TPM2B_NAME;
|
|
||||||
|
|
||||||
/* Relevant TPM Command's structures. */
|
/* Relevant TPM Command's structures. */
|
||||||
/* Common command/response header. */
|
/* Common command/response header. */
|
||||||
struct tpm_header {
|
struct tpm_header {
|
||||||
|
|
Loading…
Add table
Reference in a new issue