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

Side by Side Diff: vboot_firmware/lib/load_firmware_fw.c

Issue 2835006: Remove old firmware verification code (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Created 10 years, 6 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 | « vboot_firmware/lib/include/vboot_firmware.h ('k') | vboot_firmware/lib/vboot_firmware.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * High-level firmware API for loading and verifying rewritable firmware.
6 * (Firmware portion)
7 */
8
9 #include "load_firmware_fw.h"
10
11 #include "firmware_image_fw.h"
12 #include "utility.h"
13
14
15 static const char kFakeKernelBlob[2088] = "Fake kernel sign key blob";
16
17
18 int LoadFirmware(LoadFirmwareParams* params) {
19 /* TODO: real implementation! This is now sufficiently broken due
20 * to refactoring that we'll just trust firmware A. */
21 Memcpy(params->kernel_sign_key_blob, kFakeKernelBlob,
22 sizeof(kFakeKernelBlob));
23 params->kernel_sign_key_size = sizeof(kFakeKernelBlob);
24 params->firmware_index = 0;
25 return LOAD_FIRMWARE_SUCCESS;
26 }
OLDNEW
« no previous file with comments | « vboot_firmware/lib/include/vboot_firmware.h ('k') | vboot_firmware/lib/vboot_firmware.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698