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

Unified Diff: tests/test_common.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/run_image_verification_tests.sh ('k') | tests/test_common.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/test_common.h
diff --git a/tests/test_common.h b/tests/test_common.h
index c8404154693e44efa0fd1eced931ad650d08f000..5485fc455fd734063050357f7084a0bce739533e 100644
--- a/tests/test_common.h
+++ b/tests/test_common.h
@@ -9,7 +9,6 @@
#include <stdint.h>
-#include "firmware_image.h"
#include "kernel_image.h"
extern int gTestSuccess;
@@ -21,23 +20,6 @@ int TEST_EQ(int result, int expected_result, char* testname);
* Also update the global gTestSuccess flag if test fails. */
int TEST_NEQ(int result, int not_expected_result, char* testname);
-/* Test firmware image generation functions. */
-FirmwareImage* GenerateTestFirmwareImage(int algorithm,
- const uint8_t* firmware_sign_key,
- int firmware_key_version,
- int firmware_version,
- uint64_t firmware_len,
- const char* root_key_file,
- const char* firmware_key_file,
- uint8_t firmware_data_fill_char);
-uint8_t* GenerateTestVerificationBlob(int algorithm,
- const uint8_t* firmware_sign_key,
- int firmware_key_version,
- int firmware_version,
- uint64_t firmware_len,
- const char* root_key_file,
- const char* firmware_key_file);
-
/* Test kernel image generation functions. */
KernelImage* GenerateTestKernelImage(int firmware_sign_algorithm,
int kernel_sign_algorithm,
@@ -57,13 +39,6 @@ uint8_t* GenerateTestKernelBlob(int firmware_sign_algorithm,
const char* firmware_key_file,
const char* kernel_key_file);
-/* Generates a test verification block for rollback tests with a given
- * [firmware_key_version] and [firmware_version]. The firmware length is
- * assumed to be 1 bytes, and containing { 'F' }.
- */
-uint8_t* GenerateRollbackTestVerificationBlob(int firmware_key_version,
- int firmware_version);
-
/* Generates a test kernel iamge for rollback tests with a given
* [kernel_key_version} and [kernel_version]. If [is_corrupt] is 1,
* then the image has invalid signatures and will fail verification. */
« no previous file with comments | « tests/run_image_verification_tests.sh ('k') | tests/test_common.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698