summaryrefslogtreecommitdiff
path: root/firmware/lib/tpm_lite/include/tlcl_structures.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/tpm_lite/include/tlcl_structures.h')
-rw-r--r--firmware/lib/tpm_lite/include/tlcl_structures.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/lib/tpm_lite/include/tlcl_structures.h b/firmware/lib/tpm_lite/include/tlcl_structures.h
index c4d80ba3..36c1bb9e 100644
--- a/firmware/lib/tpm_lite/include/tlcl_structures.h
+++ b/firmware/lib/tpm_lite/include/tlcl_structures.h
@@ -13,6 +13,11 @@ const struct s_tpm_get_random_cmd{
} tpm_get_random_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xe, 0x0, 0x0, 0x0, 0x46, },
10, };
+const struct s_tpm_getownership_cmd{
+ uint8_t buffer[22];
+} 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{
uint8_t buffer[22];
uint16_t index;