Index: src/tlcl/saved-structures.h |
diff --git a/src/tlcl/saved-structures.h b/src/tlcl/saved-structures.h |
index be6a8e44400d30675817f997412280d18dea054d..a398763cf578c19c72c168bfc3270d01b8a4d7ad 100644 |
--- a/src/tlcl/saved-structures.h |
+++ b/src/tlcl/saved-structures.h |
@@ -8,8 +8,21 @@ |
/* This file is automatically generated */ |
struct { |
+ uint8_t buffer[34]; |
+ uint8_t* pcrNum; |
+ uint8_t* inDigest; |
+} tpm_extend_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x22, 0x0, 0x0, 0x0, 0x14, }, |
+tpm_extend_cmd.buffer + 10, tpm_extend_cmd.buffer + 14, }; |
+ |
+struct { |
+ uint8_t buffer[22]; |
+ uint8_t* index; |
+} tpm_getpermissions_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x16, 0x0, 0x0, 0x0, 0x65, 0x0, 0x0, 0x0, 0x11, 0x0, 0x0, 0x0, 0x4, }, |
+tpm_getpermissions_cmd.buffer + 18, }; |
+ |
+struct { |
uint8_t buffer[22]; |
-} tpm_getcapability_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x16, 0x0, 0x0, 0x0, 0x65, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x1, 0x8, }, |
+} tpm_getflags_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x16, 0x0, 0x0, 0x0, 0x65, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x1, 0x8, }, |
}; |
struct { |
@@ -35,6 +48,11 @@ struct { |
struct { |
uint8_t buffer[10]; |
+} tpm_continueselftest_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x53, }, |
+}; |
+ |
+struct { |
+ uint8_t buffer[10]; |
} tpm_selftestfull_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x50, }, |
}; |
@@ -77,3 +95,4 @@ struct { |
tpm_nv_definespace_cmd.buffer + 12, tpm_nv_definespace_cmd.buffer + 70, tpm_nv_definespace_cmd.buffer + 77, }; |
const int kWriteInfoLength = 12; |
+const int kNvDataPublicPermissionsOffset = 60; |