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

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

Issue 6626045: Pass VbSharedData between LoadFirmware() and LoadKernel() (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Fixes from code review. Created 9 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 | Annotate | Revision Log
« no previous file with comments | « firmware/lib/vboot_kernel.c ('k') | firmware/stub/load_firmware_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 #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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 VerifyPublicKeyInside(0, 0, 0); 72 VerifyPublicKeyInside(0, 0, 0);
73 VerifySignatureInside(0, 0, 0); 73 VerifySignatureInside(0, 0, 0);
74 PublicKeyInit(0, 0, 0); 74 PublicKeyInit(0, 0, 0);
75 PublicKeyCopy(0, 0); 75 PublicKeyCopy(0, 0);
76 PublicKeyToRSA(0); 76 PublicKeyToRSA(0);
77 VerifyData(0, 0, 0, 0); 77 VerifyData(0, 0, 0, 0);
78 VerifyDigest(0, 0, 0); 78 VerifyDigest(0, 0, 0);
79 KeyBlockVerify(0, 0, 0, 0); 79 KeyBlockVerify(0, 0, 0, 0);
80 VerifyFirmwarePreamble(0, 0, 0); 80 VerifyFirmwarePreamble(0, 0, 0);
81 VerifyKernelPreamble(0, 0, 0); 81 VerifyKernelPreamble(0, 0, 0);
82 VbSharedDataInit(0, 0);
83 VbSharedDataReserve(0, 0);
84 VbSharedDataSetKernelKey(0, 0);
82 85
83 VbNvSetup(0); 86 VbNvSetup(0);
84 VbNvGet(0, 0, 0); 87 VbNvGet(0, 0, 0);
85 VbNvSet(0, 0, 0); 88 VbNvSet(0, 0, 0);
86 VbNvTeardown(0); 89 VbNvTeardown(0);
87 90
88 return 0; 91 return 0;
89 } 92 }
OLDNEW
« no previous file with comments | « firmware/lib/vboot_kernel.c ('k') | firmware/stub/load_firmware_stub.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698