OLD | NEW |
1 /* This file is automatically generated */ | 1 /* This file is automatically generated */ |
2 | 2 |
3 const struct s_tpm_extend_cmd{ | 3 const 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 const struct s_tpm_getpermissions_cmd{ | 10 const struct s_tpm_getpermissions_cmd{ |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 const struct s_tpm_selftestfull_cmd{ | 57 const struct s_tpm_selftestfull_cmd{ |
58 uint8_t buffer[10]; | 58 uint8_t buffer[10]; |
59 } tpm_selftestfull_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x50, }
, | 59 } tpm_selftestfull_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x50, }
, |
60 }; | 60 }; |
61 | 61 |
62 const struct s_tpm_resume_cmd{ | 62 const struct s_tpm_resume_cmd{ |
63 uint8_t buffer[12]; | 63 uint8_t buffer[12]; |
64 } tpm_resume_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x99, 0x0, 0x
2, }, | 64 } tpm_resume_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x99, 0x0, 0x
2, }, |
65 }; | 65 }; |
66 | 66 |
| 67 const struct s_tpm_savestate_cmd{ |
| 68 uint8_t buffer[10]; |
| 69 } tpm_savestate_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x98, }, |
| 70 }; |
| 71 |
67 const struct s_tpm_startup_cmd{ | 72 const struct s_tpm_startup_cmd{ |
68 uint8_t buffer[12]; | 73 uint8_t buffer[12]; |
69 } tpm_startup_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x99, 0x0, 0
x1, }, | 74 } tpm_startup_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x99, 0x0, 0
x1, }, |
70 }; | 75 }; |
71 | 76 |
72 const struct s_tpm_finalizepp_cmd{ | 77 const struct s_tpm_finalizepp_cmd{ |
73 uint8_t buffer[12]; | 78 uint8_t buffer[12]; |
74 } tpm_finalizepp_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x40, 0x0, 0x0, 0xa, 0x2
, 0xa0, }, | 79 } tpm_finalizepp_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x40, 0x0, 0x0, 0xa, 0x2
, 0xa0, }, |
75 }; | 80 }; |
76 | 81 |
(...skipping 30 matching lines...) Expand all Loading... |
107 const struct s_tpm_nv_definespace_cmd{ | 112 const struct s_tpm_nv_definespace_cmd{ |
108 uint8_t buffer[101]; | 113 uint8_t buffer[101]; |
109 uint16_t index; | 114 uint16_t index; |
110 uint16_t perm; | 115 uint16_t perm; |
111 uint16_t size; | 116 uint16_t size; |
112 } 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, }, | 117 } 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, }, |
113 12, 70, 77, }; | 118 12, 70, 77, }; |
114 | 119 |
115 const int kWriteInfoLength = 12; | 120 const int kWriteInfoLength = 12; |
116 const int kNvDataPublicPermissionsOffset = 60; | 121 const int kNvDataPublicPermissionsOffset = 60; |
OLD | NEW |