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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_startup_cmd{ | 62 struct s_tpm_startup_cmd{ |
63 uint8_t buffer[12]; | 63 uint8_t buffer[12]; |
64 } tpm_startup_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x99, 0x0, 0
x1, }, | 64 } tpm_startup_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x99, 0x0, 0
x1, }, |
65 }; | 65 }; |
66 | 66 |
| 67 struct s_tpm_finalizepp_cmd{ |
| 68 uint8_t buffer[12]; |
| 69 } tpm_finalizepp_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x40, 0x0, 0x0, 0xa, 0x2
, 0xa0, }, |
| 70 }; |
| 71 |
67 struct s_tpm_pplock_cmd{ | 72 struct s_tpm_pplock_cmd{ |
68 uint8_t buffer[12]; | 73 uint8_t buffer[12]; |
69 } tpm_pplock_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x40, 0x0, 0x0, 0xa, 0x0, 0x
4, }, | 74 } tpm_pplock_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x40, 0x0, 0x0, 0xa, 0x0, 0x
4, }, |
70 }; | 75 }; |
71 | 76 |
72 struct s_tpm_ppenable_cmd{ | 77 struct s_tpm_ppenable_cmd{ |
73 uint8_t buffer[12]; | 78 uint8_t buffer[12]; |
74 } tpm_ppenable_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x40, 0x0, 0x0, 0xa, 0x0,
0x20, }, | 79 } tpm_ppenable_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x40, 0x0, 0x0, 0xa, 0x0,
0x20, }, |
75 }; | 80 }; |
76 | 81 |
(...skipping 20 matching lines...) Expand all Loading... |
97 struct s_tpm_nv_definespace_cmd{ | 102 struct s_tpm_nv_definespace_cmd{ |
98 uint8_t buffer[101]; | 103 uint8_t buffer[101]; |
99 uint16_t index; | 104 uint16_t index; |
100 uint16_t perm; | 105 uint16_t perm; |
101 uint16_t size; | 106 uint16_t size; |
102 } 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, }, | 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, }, |
103 12, 70, 77, }; | 108 12, 70, 77, }; |
104 | 109 |
105 const int kWriteInfoLength = 12; | 110 const int kWriteInfoLength = 12; |
106 const int kNvDataPublicPermissionsOffset = 60; | 111 const int kNvDataPublicPermissionsOffset = 60; |
OLD | NEW |