| 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{ |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 struct s_tpm_continueselftest_cmd{ | 52 struct s_tpm_continueselftest_cmd{ |
| 53 uint8_t buffer[10]; | 53 uint8_t buffer[10]; |
| 54 } tpm_continueselftest_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x5
3, }, | 54 } tpm_continueselftest_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x5
3, }, |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 struct s_tpm_selftestfull_cmd{ | 57 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 struct s_tpm_resume_cmd{ |
| 63 uint8_t buffer[12]; |
| 64 } tpm_resume_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x99, 0x0, 0x
2, }, |
| 65 }; |
| 66 |
| 62 struct s_tpm_startup_cmd{ | 67 struct s_tpm_startup_cmd{ |
| 63 uint8_t buffer[12]; | 68 uint8_t buffer[12]; |
| 64 } tpm_startup_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x99, 0x0, 0
x1, }, | 69 } tpm_startup_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x99, 0x0, 0
x1, }, |
| 65 }; | 70 }; |
| 66 | 71 |
| 67 struct s_tpm_finalizepp_cmd{ | 72 struct s_tpm_finalizepp_cmd{ |
| 68 uint8_t buffer[12]; | 73 uint8_t buffer[12]; |
| 69 } tpm_finalizepp_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x40, 0x0, 0x0, 0xa, 0x2
, 0xa0, }, | 74 } tpm_finalizepp_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x40, 0x0, 0x0, 0xa, 0x2
, 0xa0, }, |
| 70 }; | 75 }; |
| 71 | 76 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 102 struct s_tpm_nv_definespace_cmd{ | 107 struct s_tpm_nv_definespace_cmd{ |
| 103 uint8_t buffer[101]; | 108 uint8_t buffer[101]; |
| 104 uint16_t index; | 109 uint16_t index; |
| 105 uint16_t perm; | 110 uint16_t perm; |
| 106 uint16_t size; | 111 uint16_t size; |
| 107 } 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, }, | 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, }, |
| 108 12, 70, 77, }; | 113 12, 70, 77, }; |
| 109 | 114 |
| 110 const int kWriteInfoLength = 12; | 115 const int kWriteInfoLength = 12; |
| 111 const int kNvDataPublicPermissionsOffset = 60; | 116 const int kNvDataPublicPermissionsOffset = 60; |
| OLD | NEW |