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

Side by Side Diff: firmware/linktest/main.c

Issue 3195018: Add a PCR extend call for measuring the dev mode boot flag. (Closed) Base URL: http://src.chromium.org/git/vboot_reference.git
Patch Set: wrap with RETURN_ON_FAILURE 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/rollback_index.c ('k') | firmware/version.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 #include "cgptlib.h" 6 #include "cgptlib.h"
7 #include "load_firmware_fw.h" 7 #include "load_firmware_fw.h"
8 #include "load_kernel_fw.h" 8 #include "load_kernel_fw.h"
9 #include "rollback_index.h" 9 #include "rollback_index.h"
10 #include "tlcl.h" 10 #include "tlcl.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 TlclWriteLock(0); 48 TlclWriteLock(0);
49 TlclReadLock(0); 49 TlclReadLock(0);
50 TlclAssertPhysicalPresence(); 50 TlclAssertPhysicalPresence();
51 TlclSetNvLocked(); 51 TlclSetNvLocked();
52 TlclIsOwned(); 52 TlclIsOwned();
53 TlclForceClear(); 53 TlclForceClear();
54 TlclSetEnable(); 54 TlclSetEnable();
55 TlclClearEnable(); 55 TlclClearEnable();
56 TlclSetDeactivated(0); 56 TlclSetDeactivated(0);
57 TlclGetFlags(0, 0, 0); 57 TlclGetFlags(0, 0, 0);
58 TlclSetGlobalLock();
59 TlclExtend(0, 0, 0);
60 TlclGetPermissions(0, 0);
58 61
59 /* vboot_common.h */ 62 /* vboot_common.h */
60 OffsetOf(0, 0); 63 OffsetOf(0, 0);
61 GetPublicKeyData(0); 64 GetPublicKeyData(0);
62 GetPublicKeyDataC(0); 65 GetPublicKeyDataC(0);
63 GetSignatureData(0); 66 GetSignatureData(0);
64 GetSignatureDataC(0); 67 GetSignatureDataC(0);
65 VerifyMemberInside(0, 0, 0, 0, 0, 0); 68 VerifyMemberInside(0, 0, 0, 0, 0, 0);
66 VerifyPublicKeyInside(0, 0, 0); 69 VerifyPublicKeyInside(0, 0, 0);
67 VerifySignatureInside(0, 0, 0); 70 VerifySignatureInside(0, 0, 0);
68 PublicKeyInit(0, 0, 0); 71 PublicKeyInit(0, 0, 0);
69 PublicKeyCopy(0, 0); 72 PublicKeyCopy(0, 0);
70 PublicKeyToRSA(0); 73 PublicKeyToRSA(0);
71 VerifyData(0, 0, 0, 0); 74 VerifyData(0, 0, 0, 0);
72 VerifyDigest(0, 0, 0); 75 VerifyDigest(0, 0, 0);
73 KeyBlockVerify(0, 0, 0, 0); 76 KeyBlockVerify(0, 0, 0, 0);
74 VerifyFirmwarePreamble(0, 0, 0); 77 VerifyFirmwarePreamble(0, 0, 0);
75 VerifyKernelPreamble(0, 0, 0); 78 VerifyKernelPreamble(0, 0, 0);
76 79
77 return 0; 80 return 0;
78 } 81 }
OLDNEW
« no previous file with comments | « firmware/lib/rollback_index.c ('k') | firmware/version.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698