diff options
Diffstat (limited to 'src/tests/test_c25519.cpp')
-rw-r--r-- | src/tests/test_c25519.cpp | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/tests/test_c25519.cpp b/src/tests/test_c25519.cpp index f5fab60f4..cb6c8a2d5 100644 --- a/src/tests/test_c25519.cpp +++ b/src/tests/test_c25519.cpp @@ -7,9 +7,9 @@ #include "tests.h" #if defined(BOTAN_HAS_CURVE_25519) - #include "test_pubkey.h" - #include <botan/curve25519.h> - #include <botan/pkcs8.h> + #include "test_pubkey.h" + #include <botan/curve25519.h> + #include <botan/pkcs8.h> #endif namespace Botan_Tests { @@ -20,9 +20,8 @@ class Curve25519_Sclarmult_Tests : public Text_Based_Test { public: Curve25519_Sclarmult_Tests() : Text_Based_Test( - "pubkey/c25519_scalar.vec", - "Secret,Basepoint,Out") - {} + "pubkey/c25519_scalar.vec", + "Secret,Basepoint,Out") {} Test::Result run_one_test(const std::string&, const VarMap& vars) override { @@ -111,8 +110,14 @@ class Curve25519_Roundtrip_Test : public Test class Curve25519_Keygen_Tests : public PK_Key_Generation_Test { public: - std::vector<std::string> keygen_params() const override { return { "" }; } - std::string algo_name() const override { return "Curve25519"; } + std::vector<std::string> keygen_params() const override + { + return { "" }; + } + std::string algo_name() const override + { + return "Curve25519"; + } }; BOTAN_REGISTER_TEST("curve25519_scalar", Curve25519_Sclarmult_Tests); |