diff options
Diffstat (limited to 'firmware/lib/tpm_lite/include/tlcl_structures.h')
-rw-r--r-- | firmware/lib/tpm_lite/include/tlcl_structures.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/lib/tpm_lite/include/tlcl_structures.h b/firmware/lib/tpm_lite/include/tlcl_structures.h index a3772328..8a17ccc8 100644 --- a/firmware/lib/tpm_lite/include/tlcl_structures.h +++ b/firmware/lib/tpm_lite/include/tlcl_structures.h @@ -59,10 +59,10 @@ const struct s_tpm_getownership_cmd{ } tpm_getownership_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x16, 0x0, 0x0, 0x0, 0x65, 0x0, 0x0, 0x0, 0x5, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x1, 0x11, }, }; -const struct s_tpm_getpermissions_cmd{ +const struct s_tpm_getspaceinfo_cmd{ uint8_t buffer[22]; uint16_t index; -} tpm_getpermissions_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x16, 0x0, 0x0, 0x0, 0x65, 0x0, 0x0, 0x0, 0x11, 0x0, 0x0, 0x0, 0x4, }, +} tpm_getspaceinfo_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x16, 0x0, 0x0, 0x0, 0x65, 0x0, 0x0, 0x0, 0x11, 0x0, 0x0, 0x0, 0x4, }, 18, }; const struct s_tpm_getstclearflags_cmd{ @@ -179,4 +179,3 @@ const struct s_tpm_nv_definespace_cmd{ 12, 16, 42, 70, 77, }; const int kWriteInfoLength = 12; -const int kNvDataPublicPermissionsOffset = 60; |