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

Unified Diff: src/platform/vboot_reference/tests/test_common.h

Issue 1430001: VBoot Reference: Fix splicing bugs in Firmware and Kernel verification. (Closed)
Patch Set: . Created 10 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 side-by-side diff with in-line comments
Download patch
Index: src/platform/vboot_reference/tests/test_common.h
diff --git a/src/platform/vboot_reference/tests/test_common.h b/src/platform/vboot_reference/tests/test_common.h
index d203d76a2ac15510cd24df58b66a81d222743358..15746b5918b51cf38945a2865c1a976be39d598b 100644
--- a/src/platform/vboot_reference/tests/test_common.h
+++ b/src/platform/vboot_reference/tests/test_common.h
@@ -24,7 +24,8 @@ FirmwareImage* GenerateTestFirmwareImage(int algorithm,
int firmware_version,
int firmware_len,
const char* root_key_file,
- const char* firmware_key_file);
+ const char* firmware_key_file,
+ uint8_t firmware_data_fill_char);
uint8_t* GenerateTestFirmwareBlob(int algorithm,
const uint8_t* firmware_sign_key,
int firmware_key_version,
@@ -41,7 +42,9 @@ KernelImage* GenerateTestKernelImage(int firmware_sign_algorithm,
int kernel_version,
int kernel_len,
const char* firmware_key_file,
- const char* kernel_key_file);
+ const char* kernel_key_file,
+ uint8_t kernel_data_fill_char);
+;
uint8_t* GenerateTestKernelBlob(int firmware_sign_algorithm,
int kernel_sign_algorithm,
const uint8_t* kernel_sign_key,

Powered by Google App Engine
This is Rietveld 408576698