OLD | NEW |
1 /* This file is automatically generated */ | 1 /* This file is automatically generated */ |
2 | 2 |
3 struct s_tpm_extend_cmd{ | 3 struct s_tpm_extend_cmd{ |
4 uint8_t buffer[34]; | 4 uint8_t buffer[34]; |
5 uint16_t pcrNum; | 5 uint16_t pcrNum; |
6 uint16_t inDigest; | 6 uint16_t inDigest; |
7 } 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, }, |
8 10, 14, }; | 8 10, 14, }; |
9 | 9 |
10 struct s_tpm_getpermissions_cmd{ | 10 struct s_tpm_getpermissions_cmd{ |
11 uint8_t buffer[22]; | 11 uint8_t buffer[22]; |
12 uint16_t index; | 12 uint16_t index; |
13 } tpm_getpermissions_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x16, 0x0, 0x0, 0x0, 0x65
, 0x0, 0x0, 0x0, 0x11, 0x0, 0x0, 0x0, 0x4, }, | 13 } tpm_getpermissions_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x16, 0x0, 0x0, 0x0, 0x65
, 0x0, 0x0, 0x0, 0x11, 0x0, 0x0, 0x0, 0x4, }, |
14 18, }; | 14 18, }; |
15 | 15 |
| 16 struct s_tpm_getstclearflags_cmd{ |
| 17 uint8_t buffer[22]; |
| 18 } tpm_getstclearflags_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x16, 0x0, 0x0, 0x0, 0x6
5, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x1, 0x9, }, |
| 19 }; |
| 20 |
16 struct s_tpm_getflags_cmd{ | 21 struct s_tpm_getflags_cmd{ |
17 uint8_t buffer[22]; | 22 uint8_t buffer[22]; |
18 } 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, }, | 23 } 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, }, |
19 }; | 24 }; |
20 | 25 |
21 struct s_tpm_physicalsetdeactivated_cmd{ | 26 struct s_tpm_physicalsetdeactivated_cmd{ |
22 uint8_t buffer[11]; | 27 uint8_t buffer[11]; |
23 uint16_t deactivated; | 28 uint16_t deactivated; |
24 } tpm_physicalsetdeactivated_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xb, 0x0, 0x0, 0x
0, 0x72, }, | 29 } tpm_physicalsetdeactivated_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xb, 0x0, 0x0, 0x
0, 0x72, }, |
25 10, }; | 30 10, }; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 struct s_tpm_nv_definespace_cmd{ | 92 struct s_tpm_nv_definespace_cmd{ |
88 uint8_t buffer[101]; | 93 uint8_t buffer[101]; |
89 uint16_t index; | 94 uint16_t index; |
90 uint16_t perm; | 95 uint16_t perm; |
91 uint16_t size; | 96 uint16_t size; |
92 } 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, }, | 97 } 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, }, |
93 12, 70, 77, }; | 98 12, 70, 77, }; |
94 | 99 |
95 const int kWriteInfoLength = 12; | 100 const int kWriteInfoLength = 12; |
96 const int kNvDataPublicPermissionsOffset = 60; | 101 const int kNvDataPublicPermissionsOffset = 60; |
OLD | NEW |