OLD | NEW |
---|---|
1 /* Following this comment, this file contains the content of the file | |
2 * structures.h which is automatically generated from generator.c. This file | |
3 * is included for convenience. Any changes to generator.c (typically when | |
4 * adding commands) will require its recompilation and reexecution. The output | |
5 * should be used as structures.h. The compilation of generator.c requires the | |
6 * trousers library, which is only available on Linux. | |
7 */ | |
8 /* This file is automatically generated */ | 1 /* This file is automatically generated */ |
9 | 2 |
10 struct { | 3 struct { |
11 uint8_t buffer[34]; | 4 uint8_t buffer[34]; |
12 uint8_t* pcrNum; | 5 uint8_t* pcrNum; |
13 uint8_t* inDigest; | 6 uint8_t* inDigest; |
14 } tpm_extend_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x22, 0x0, 0x0, 0x0, 0x14, }, | 7 } tpm_extend_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x22, 0x0, 0x0, 0x0, 0x14, }, |
15 tpm_extend_cmd.buffer + 10, tpm_extend_cmd.buffer + 14, }; | 8 tpm_extend_cmd.buffer + 10, tpm_extend_cmd.buffer + 14, }; |
16 | 9 |
17 struct { | 10 struct { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
89 struct { | 82 struct { |
90 uint8_t buffer[101]; | 83 uint8_t buffer[101]; |
91 uint8_t* index; | 84 uint8_t* index; |
92 uint8_t* perm; | 85 uint8_t* perm; |
93 uint8_t* size; | 86 uint8_t* size; |
94 } tpm_nv_definespace_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x65, 0x0, 0x0, 0x0, 0xcc , 0x0, 0x18, 0, 0, 0, 0, 0x0, 0x3, 0, 0, 0, 0x1f, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x0, 0x3, 0, 0, 0, 0x1f, 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x0, 0x17, }, | 87 } tpm_nv_definespace_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x65, 0x0, 0x0, 0x0, 0xcc , 0x0, 0x18, 0, 0, 0, 0, 0x0, 0x3, 0, 0, 0, 0x1f, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x0, 0x3, 0, 0, 0, 0x1f, 0, 0, 0, 0, 0, 0, 0, 0, 0 , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x0, 0x17, }, |
95 tpm_nv_definespace_cmd.buffer + 12, tpm_nv_definespace_cmd.buffer + 70, tpm_nv_d efinespace_cmd.buffer + 77, }; | 88 tpm_nv_definespace_cmd.buffer + 12, tpm_nv_definespace_cmd.buffer + 70, tpm_nv_d efinespace_cmd.buffer + 77, }; |
96 | 89 |
97 const int kWriteInfoLength = 12; | 90 const int kWriteInfoLength = 12; |
98 const int kNvDataPublicPermissionsOffset = 60; | 91 const int kNvDataPublicPermissionsOffset = 60; |
OLD | NEW |