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

Side by Side Diff: src/platform/vboot_reference/vfirmware/firmware_image.c

Issue 1581005: VBoot Reference: Refactoring Part 3 (Closed)
Patch Set: . Created 10 years, 8 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
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 * Functions for generating and manipulating a verified boot firmware image. 5 * Functions for generating and manipulating a verified boot firmware image.
6 */ 6 */
7 7
8 #include "firmware_image.h" 8 #include "firmware_image.h"
9 9
10 #include <sys/types.h> 10 #include <sys/types.h>
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 Free(firmware_buf); 462 Free(firmware_buf);
463 return 0; 463 return 0;
464 } 464 }
465 image->firmware_signature = (uint8_t*) Malloc(signature_len); 465 image->firmware_signature = (uint8_t*) Malloc(signature_len);
466 Memcpy(image->firmware_signature, firmware_signature, signature_len); 466 Memcpy(image->firmware_signature, firmware_signature, signature_len);
467 Free(firmware_signature); 467 Free(firmware_signature);
468 Free(firmware_buf); 468 Free(firmware_buf);
469 Free(preamble_blob); 469 Free(preamble_blob);
470 return 1; 470 return 1;
471 } 471 }
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/vfirmware/Makefile ('k') | src/platform/vboot_reference/vfirmware/firmware_image_fw.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698