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

Unified Diff: src/platform/vboot_reference/vfirmware/include/firmware_image.h

Issue 2366004: Add --subkey_in and --subkey_out options to firmware signing utility. (Closed) Base URL: ssh://git@gitrw.chromium.org/chromiumos
Patch Set: Created 10 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: src/platform/vboot_reference/vfirmware/include/firmware_image.h
diff --git a/src/platform/vboot_reference/vfirmware/include/firmware_image.h b/src/platform/vboot_reference/vfirmware/include/firmware_image.h
index fcd66f77b3129b361e2af842f867a139e18833f1..7bf53604f4b7627831228b0322377cc80bae26fc 100644
--- a/src/platform/vboot_reference/vfirmware/include/firmware_image.h
+++ b/src/platform/vboot_reference/vfirmware/include/firmware_image.h
@@ -56,13 +56,17 @@ uint8_t* GetFirmwareBlob(const FirmwareImage* image, uint64_t* blob_len);
/* Write firmware data from [image] into a file named [input_file].
*
- * If [is_just_vblock] is 1, only the verification block (excluding the
- * actual firmware_data) is written.
+ * If [is_just_vblock] is non-zero, only the verification block (excluding the
+ * actual firmware_data) is output.
+ * if [is_subkey_out] is non-zero, only the firmware key verification (subkey)
+ * header is output.
+ *
* Return 1 on success, 0 on failure.
*/
int WriteFirmwareImage(const char* input_file,
const FirmwareImage* image,
- int is_only_vblock);
+ int is_only_vblock,
+ int is_subkey_out);
/* Pretty print the contents of [image]. Only headers and metadata information
* is printed.
« no previous file with comments | « src/platform/vboot_reference/vfirmware/firmware_image.c ('k') | src/platform/vboot_reference/vkernel/include/kernel_image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698