Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(834)

Side by Side Diff: src/tlcl/structures.h

Issue 2831027: Add version string in binary and simplify build. (Closed) Base URL: ssh://git@chromiumos-git/tpm_lite.git
Patch Set: sed -> cut and add warnings Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/tlcl/Makefile.firmware ('k') | src/tlcl/tlcl.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Following this comment, this file contains the content of the file
2 * structures.h which is automatically generated from generator.c. This file
3 * is included for convenience. Any changes to generator.c (typically when
4 * adding commands) will require its recompilation and reexecution. The output
5 * should be used as structures.h. The compilation of generator.c requires the
6 * trousers library, which is only available on Linux.
7 */
8 /* This file is automatically generated */ 1 /* This file is automatically generated */
9 2
10 struct { 3 struct {
11 uint8_t buffer[34]; 4 uint8_t buffer[34];
12 uint8_t* pcrNum; 5 uint8_t* pcrNum;
13 uint8_t* inDigest; 6 uint8_t* inDigest;
14 } 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, },
15 tpm_extend_cmd.buffer + 10, tpm_extend_cmd.buffer + 14, }; 8 tpm_extend_cmd.buffer + 10, tpm_extend_cmd.buffer + 14, };
16 9
17 struct { 10 struct {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 struct { 82 struct {
90 uint8_t buffer[101]; 83 uint8_t buffer[101];
91 uint8_t* index; 84 uint8_t* index;
92 uint8_t* perm; 85 uint8_t* perm;
93 uint8_t* size; 86 uint8_t* size;
94 } 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, }, 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, },
95 tpm_nv_definespace_cmd.buffer + 12, tpm_nv_definespace_cmd.buffer + 70, tpm_nv_d efinespace_cmd.buffer + 77, }; 88 tpm_nv_definespace_cmd.buffer + 12, tpm_nv_definespace_cmd.buffer + 70, tpm_nv_d efinespace_cmd.buffer + 77, };
96 89
97 const int kWriteInfoLength = 12; 90 const int kWriteInfoLength = 12;
98 const int kNvDataPublicPermissionsOffset = 60; 91 const int kNvDataPublicPermissionsOffset = 60;
OLDNEW
« no previous file with comments | « src/tlcl/Makefile.firmware ('k') | src/tlcl/tlcl.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698