| OLD | NEW |
| 1 /* This file is automatically generated */ | 1 /* This file is automatically generated */ |
| 2 | 2 |
| 3 struct { | 3 struct { |
| 4 uint8_t buffer[34]; | 4 uint8_t buffer[34]; |
| 5 uint8_t* pcrNum; | 5 uint8_t* pcrNum; |
| 6 uint8_t* inDigest; | 6 uint8_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 tpm_extend_cmd.buffer + 10, tpm_extend_cmd.buffer + 14, }; | 8 tpm_extend_cmd.buffer + 10, tpm_extend_cmd.buffer + 14, }; |
| 9 | 9 |
| 10 struct { | 10 struct { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 } tpm_physicalsetdeactivated_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xb, 0x0, 0x0, 0x
0, 0x72, }, | 24 } tpm_physicalsetdeactivated_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xb, 0x0, 0x0, 0x
0, 0x72, }, |
| 25 tpm_physicalsetdeactivated_cmd.buffer + 10, }; | 25 tpm_physicalsetdeactivated_cmd.buffer + 10, }; |
| 26 | 26 |
| 27 struct { | 27 struct { |
| 28 uint8_t buffer[10]; | 28 uint8_t buffer[10]; |
| 29 } tpm_physicalenable_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x6f,
}, | 29 } tpm_physicalenable_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x6f,
}, |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 struct { | 32 struct { |
| 33 uint8_t buffer[10]; | 33 uint8_t buffer[10]; |
| 34 } tpm_physicaldisable_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x70
, }, |
| 35 }; |
| 36 |
| 37 struct { |
| 38 uint8_t buffer[10]; |
| 34 } tpm_forceclear_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x5d, }, | 39 } tpm_forceclear_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x5d, }, |
| 35 }; | 40 }; |
| 36 | 41 |
| 37 struct { | 42 struct { |
| 38 uint8_t buffer[30]; | 43 uint8_t buffer[30]; |
| 39 } tpm_readpubek_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x1e, 0x0, 0x0, 0x0, 0x7c, }, | 44 } tpm_readpubek_cmd = {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x1e, 0x0, 0x0, 0x0, 0x7c, }, |
| 40 }; | 45 }; |
| 41 | 46 |
| 42 struct { | 47 struct { |
| 43 uint8_t buffer[10]; | 48 uint8_t buffer[10]; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 struct { | 87 struct { |
| 83 uint8_t buffer[101]; | 88 uint8_t buffer[101]; |
| 84 uint8_t* index; | 89 uint8_t* index; |
| 85 uint8_t* perm; | 90 uint8_t* perm; |
| 86 uint8_t* size; | 91 uint8_t* size; |
| 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, }, | 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, }, |
| 88 tpm_nv_definespace_cmd.buffer + 12, tpm_nv_definespace_cmd.buffer + 70, tpm_nv_d
efinespace_cmd.buffer + 77, }; | 93 tpm_nv_definespace_cmd.buffer + 12, tpm_nv_definespace_cmd.buffer + 70, tpm_nv_d
efinespace_cmd.buffer + 77, }; |
| 89 | 94 |
| 90 const int kWriteInfoLength = 12; | 95 const int kWriteInfoLength = 12; |
| 91 const int kNvDataPublicPermissionsOffset = 60; | 96 const int kNvDataPublicPermissionsOffset = 60; |
| OLD | NEW |