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

Side by Side Diff: firmware/stub/include/tpmextras.h

Issue 3116025: Added new commands and reactivated full rebuild after fixing for ARM ebuild. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: move to new build flow (no changes expected) Created 10 years, 4 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 | « firmware/lib/tpm_lite/tlcl.c ('k') | firmware/stub/tpm_lite_stub.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 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* 6 /*
7 * TPM definitions not available in any TSS include file :-( 7 * TPM definitions not available in any TSS include file :-(
8 */ 8 */
9 9
10 #ifndef TPM_LITE_TPMEXTRAS_H_ 10 #ifndef TPM_LITE_TPMEXTRAS_H_
11 #define TPM_LITE_TPMEXTRAS_H_ 11 #define TPM_LITE_TPMEXTRAS_H_
12 12
13 #include <tss/tcs.h>
14
15 #define TPM_MAX_COMMAND_SIZE 4096 13 #define TPM_MAX_COMMAND_SIZE 4096
16 #define TPM_LARGE_ENOUGH_COMMAND_SIZE 256 /* saves space in the firmware */ 14 #define TPM_LARGE_ENOUGH_COMMAND_SIZE 256 /* saves space in the firmware */
15 #define TPM_ENCAUTH_SIZE 20
16 #define TPM_PUBEK_SIZE 256
17
18 #define TPM_ALL_LOCALITIES (TPM_LOC_ZERO | TPM_LOC_ONE | TPM_LOC_TWO \
19 | TPM_LOC_THREE | TPM_LOC_FOUR) /* 0x1f */
17 20
18 typedef struct tdTPM_WRITE_INFO { 21 typedef struct tdTPM_WRITE_INFO {
19 uint32_t nvIndex; 22 uint32_t nvIndex;
20 uint32_t offset; 23 uint32_t offset;
21 uint32_t dataSize; 24 uint32_t dataSize;
22 } TPM_WRITE_INFO; 25 } TPM_WRITE_INFO;
23 26
24 #define TPM_ALL_LOCALITIES (TPM_LOC_ZERO | TPM_LOC_ONE | TPM_LOC_TWO \
25 | TPM_LOC_THREE | TPM_LOC_FOUR) /* 0x1f */
26
27 #define TPM_ENCAUTH_SIZE 20
28 #define TPM_PUBEK_SIZE 256
29
30 #endif 27 #endif
OLDNEW
« no previous file with comments | « firmware/lib/tpm_lite/tlcl.c ('k') | firmware/stub/tpm_lite_stub.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698