OLD | NEW |
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 * Stub implementations of TPM Lite Library. | 5 * Stub implementations of TPM Lite Library. |
6 */ | 6 */ |
7 | 7 |
8 #include "tss_constants.h" | 8 #include "tss_constants.h" |
9 | 9 |
10 void TlclLibInit(void) { return; } | 10 void TlclLibInit(void) { return; } |
(...skipping 15 matching lines...) Expand all Loading... |
26 uint32_t TlclLockPhysicalPresence(void) { return TPM_SUCCESS; } | 26 uint32_t TlclLockPhysicalPresence(void) { return TPM_SUCCESS; } |
27 uint32_t TlclSetNvLocked(void) { return TPM_SUCCESS; } | 27 uint32_t TlclSetNvLocked(void) { return TPM_SUCCESS; } |
28 int TlclIsOwned(void) { return TPM_SUCCESS; } | 28 int TlclIsOwned(void) { return TPM_SUCCESS; } |
29 uint32_t TlclForceClear(void) { return TPM_SUCCESS; } | 29 uint32_t TlclForceClear(void) { return TPM_SUCCESS; } |
30 uint32_t TlclSetEnable(void) { return TPM_SUCCESS; } | 30 uint32_t TlclSetEnable(void) { return TPM_SUCCESS; } |
31 uint32_t TlclSetDeactivated(int deactivated) { return TPM_SUCCESS; } | 31 uint32_t TlclSetDeactivated(int deactivated) { return TPM_SUCCESS; } |
32 uint32_t TlclSetGlobalLock(void) { return TPM_SUCCESS; } | 32 uint32_t TlclSetGlobalLock(void) { return TPM_SUCCESS; } |
33 uint32_t TlclGetFlags(uint8_t* disable, uint8_t* deactivated) { | 33 uint32_t TlclGetFlags(uint8_t* disable, uint8_t* deactivated) { |
34 return TPM_SUCCESS; | 34 return TPM_SUCCESS; |
35 } | 35 } |
| 36 uint32_t TlclGetPermissions(uint32_t index, uint32_t* permissions) { |
| 37 return TPM_SUCCESS; |
| 38 } |
OLD | NEW |