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

Side by Side Diff: src/platform/vboot_reference/common/tlcl_stub.c

Issue 1241002: VBoot Reference: Add version checking to for preventing rollbacks. (Closed)
Patch Set: . Created 10 years, 9 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
OLDNEW
(Empty)
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
3 * found in the LICENSE file.
4 *
5 * Stub implementations of TPM Lite Library.
6 */
7
8 #include <tss/tcs.h>
9
10 void TlclLibinit(void) { return; }
11 void TlclStartup(void) { return; }
12 void TlclSelftestfull(void) { return; }
13 void TlclDefineSpace(uint32_t index, uint32_t perm, uint32_t size) { return; }
14 uint32_t TlclWrite(uint32_t index, uint8_t *data, uint32_t length) {
15 return TPM_SUCCESS;
16 }
17 uint32_t TlclRead(uint32_t index, uint8_t *data, uint32_t length) {
18 return TPM_SUCCESS;
19 }
20 void TlclWriteLock(uint32_t index) { return; }
21 void TlclReadLock(uint32_t index) { return; }
22 void TlclAssertPhysicalPresence(void) { return; }
23 void TlclSetNvLocked(void) { return; }
24 int TlclIsOwned(void) { return 0; }
25 void TlclForceClear(void) { return; }
26 void TlclPhysicalEnable(void) { return; }
27 int TlclPhysicalSetDeactivated(uint8_t flag) { return TPM_SUCCESS; }
28 int TlclGetFlags(uint8_t* disable, uint8_t* deactivated) { return TPM_SUCCESS; }
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/common/Makefile ('k') | src/platform/vboot_reference/include/firmware_image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698