aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_c25519.cpp
diff options
context:
space:
mode:
authorTomasz Frydrych <[email protected]>2017-05-01 15:03:52 +0200
committerTomasz Frydrych <[email protected]>2017-05-01 15:03:52 +0200
commit87c0fae706140b0a2a7a3fda9dd813474172fa2a (patch)
tree28930efab4d290dcebb89666d46050edd06703fd /src/tests/test_c25519.cpp
parent29cc6bebe132a34f882d450b35a69bf71bb3e27b (diff)
Reformat code with astyle + fix code style
Diffstat (limited to 'src/tests/test_c25519.cpp')
-rw-r--r--src/tests/test_c25519.cpp21
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);