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

Side by Side Diff: firmware/lib/tpm_lite/include/tlcl.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 | « Makefile ('k') | firmware/lib/tpm_lite/include/tlcl_structures.h » ('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 /* TPM Lightweight Command Library. 6 /* TPM Lightweight Command Library.
7 * 7 *
8 * A low-level library for interfacing to TPM hardware or an emulator. 8 * A low-level library for interfacing to TPM hardware or an emulator.
9 */ 9 */
10 10
11 #ifndef TPM_LITE_TLCL_H_ 11 #ifndef TPM_LITE_TLCL_H_
12 #define TPM_LITE_TLCL_H_ 12 #define TPM_LITE_TLCL_H_
13 13
14 #include "sysincludes.h" 14 #include "sysincludes.h"
15 #include "tss_constants.h"
15 16
16 /*****************************************************************************/ 17 /*****************************************************************************/
17 /* Functions to be implemented by the stub library */ 18 /* Functions to be implemented by the stub library */
18 19
19 /* Initialize the stub library */ 20 /* Initialize the stub library */
20 void TlclStubInit(void); 21 void TlclStubInit(void);
21 22
22 /* Close and open the device. This is needed for running more complex commands 23 /* Close and open the device. This is needed for running more complex commands
23 * at user level, such as TPM_TakeOwnership, since the TPM device can be opened 24 * at user level, such as TPM_TakeOwnership, since the TPM device can be opened
24 * only by one process at a time. 25 * only by one process at a time.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 uint32_t TlclSetGlobalLock(void); 128 uint32_t TlclSetGlobalLock(void);
128 129
129 /* Performs a TPM_Extend. 130 /* Performs a TPM_Extend.
130 */ 131 */
131 uint32_t TlclExtend(int pcr_num, uint8_t* in_digest, uint8_t* out_digest); 132 uint32_t TlclExtend(int pcr_num, uint8_t* in_digest, uint8_t* out_digest);
132 133
133 /* Gets the permission bits for the NVRAM space with |index|. 134 /* Gets the permission bits for the NVRAM space with |index|.
134 */ 135 */
135 uint32_t TlclGetPermissions(uint32_t index, uint32_t* permissions); 136 uint32_t TlclGetPermissions(uint32_t index, uint32_t* permissions);
136 137
138 /* Gets the entire set of permanent flags.
139 */
140 uint32_t TlclGetPermanentFlags(TPM_PERMANENT_FLAGS* pflags);
141
142 /* Gets the entire set of volatile (ST_CLEAR) flags.
143 */
144 uint32_t TlclGetSTClearFlags(TPM_STCLEAR_FLAGS* pflags);
145
137 #endif /* TPM_LITE_TLCL_H_ */ 146 #endif /* TPM_LITE_TLCL_H_ */
OLDNEW
« no previous file with comments | « Makefile ('k') | firmware/lib/tpm_lite/include/tlcl_structures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698