diff options
author | Randall Spangler <rspangler@chromium.org> | 2010-06-16 12:05:10 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2010-06-16 12:05:10 -0700 |
commit | d471f2a83961f1da85d49163da4782d2439b611f (patch) | |
tree | 0f4eba70cda66fdf39cadea8e0567bc2a1bec4b4 /tests/test_common.h | |
parent | 695cd16f135198247faa94600364c3ae47a7d6f5 (diff) | |
download | vboot-d471f2a83961f1da85d49163da4782d2439b611f.tar.gz |
Remove old firmware verification code, now that firmware build has switched to the new algorithms.
Review URL: http://codereview.chromium.org/2835006
Diffstat (limited to 'tests/test_common.h')
-rw-r--r-- | tests/test_common.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/test_common.h b/tests/test_common.h index c8404154..5485fc45 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. */ |