diff options
Diffstat (limited to 'src/tests/unit_ecc.cpp')
-rw-r--r-- | src/tests/unit_ecc.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tests/unit_ecc.cpp b/src/tests/unit_ecc.cpp index 408b5040c..d79404a79 100644 --- a/src/tests/unit_ecc.cpp +++ b/src/tests/unit_ecc.cpp @@ -216,12 +216,13 @@ class NIST_Curve_Reduction_Tests : public Test std::vector<Test::Result> results; #if defined(BOTAN_HAS_NIST_PRIME_REDUCERS_W32) - results.push_back(random_redc_test("P-192", Botan::prime_p192(), Botan::redc_p192)); - results.push_back(random_redc_test("P-224", Botan::prime_p224(), Botan::redc_p224)); - results.push_back(random_redc_test("P-256", Botan::prime_p256(), Botan::redc_p256)); results.push_back(random_redc_test("P-384", Botan::prime_p384(), Botan::redc_p384)); + results.push_back(random_redc_test("P-256", Botan::prime_p256(), Botan::redc_p256)); + results.push_back(random_redc_test("P-224", Botan::prime_p224(), Botan::redc_p224)); + results.push_back(random_redc_test("P-192", Botan::prime_p192(), Botan::redc_p192)); #endif results.push_back(random_redc_test("P-521", Botan::prime_p521(), Botan::redc_p521)); + return results; } |