aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-17 17:56:59 +0000
committerlloyd <[email protected]>2008-11-17 17:56:59 +0000
commitdde1ae3fa52e1b4d8d407d3484a02eb197511509 (patch)
tree9a406f6f7f5d44e5f3b3db4aad4841cc59fb8178
parent14f0d6e085ed2f7092eff9e0620f849843e5c68d (diff)
Output that ECC tests are being run, and run them after GF(p) math tests which is a reasonable ordering
-rw-r--r--checks/check.cpp3
-rw-r--r--checks/ec_tests.cpp4
2 files changed, 5 insertions, 2 deletions
diff --git a/checks/check.cpp b/checks/check.cpp
index 24e1dab48..619e8a3a7 100644
--- a/checks/check.cpp
+++ b/checks/check.cpp
@@ -203,12 +203,11 @@ int run_test_suite(RandomNumberGenerator& rng)
u32bit errors = 0;
try
{
- do_ec_tests(rng);
-
errors += do_validation_tests(VALIDATION_FILE, rng);
errors += do_validation_tests(EXPECTED_FAIL_FILE, rng, false);
errors += do_bigint_tests(BIGINT_VALIDATION_FILE, rng);
errors += do_gfpmath_tests(rng);
+ do_ec_tests(rng);
errors += do_pk_validation_tests(PK_VALIDATION_FILE, rng);
//errors += do_cvc_tests(rng);
}
diff --git a/checks/ec_tests.cpp b/checks/ec_tests.cpp
index ed12e4a86..03a527ad7 100644
--- a/checks/ec_tests.cpp
+++ b/checks/ec_tests.cpp
@@ -1169,6 +1169,8 @@ void test_ec_key_cast(RandomNumberGenerator& rng)
void do_ec_tests(RandomNumberGenerator& rng)
{
+ std::cout << "InSiTo ECC tests: " << std::flush;
+
test_point_turn_on_sp_red_mul_simple();
test_point_turn_on_sp_red_mul();
test_coordinates();
@@ -1203,5 +1205,7 @@ void do_ec_tests(RandomNumberGenerator& rng)
test_curve_cp_ctor();
test_ec_key_cp_and_assignment(rng);
test_ec_key_cast(rng);
+
+ std::cout << std::endl;
}