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

Unified Diff: tests/test_common.h

Issue 2815011: Remove unused files, and tidy the directory structure of the remaining ones. (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 5485fc455fd734063050357f7084a0bce739533e..d62071f714686c54ecbf78827ef5dc2643f08edd 100644
--- a/tests/test_common.h
+++ b/tests/test_common.h
@@ -9,8 +9,6 @@
#include <stdint.h>
-#include "kernel_image.h"
-
extern int gTestSuccess;
/* Return 1 if result is equal to expected_result, else return 0.
@@ -20,29 +18,4 @@ 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 kernel image generation functions. */
-KernelImage* GenerateTestKernelImage(int firmware_sign_algorithm,
- int kernel_sign_algorithm,
- const uint8_t* kernel_sign_key,
- int kernel_key_version,
- int kernel_version,
- uint64_t kernel_len,
- const char* firmware_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,
- int kernel_key_version,
- int kernel_version,
- uint64_t kernel_len,
- const char* firmware_key_file,
- const char* kernel_key_file);
-
-/* 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. */
-uint8_t* GenerateRollbackTestKernelBlob(int kernel_key_version,
- int kernel_version,
- int is_corrupt);
#endif /* VBOOT_REFERENCE_TEST_COMMON_H_ */
« 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