diff options
author | Tomasz Frydrych <[email protected]> | 2017-05-01 15:03:52 +0200 |
---|---|---|
committer | Tomasz Frydrych <[email protected]> | 2017-05-01 15:03:52 +0200 |
commit | 87c0fae706140b0a2a7a3fda9dd813474172fa2a (patch) | |
tree | 28930efab4d290dcebb89666d46050edd06703fd /src/tests/test_gost_3410.cpp | |
parent | 29cc6bebe132a34f882d450b35a69bf71bb3e27b (diff) |
Reformat code with astyle + fix code style
Diffstat (limited to 'src/tests/test_gost_3410.cpp')
-rw-r--r-- | src/tests/test_gost_3410.cpp | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/src/tests/test_gost_3410.cpp b/src/tests/test_gost_3410.cpp index 55750d416..bc036e037 100644 --- a/src/tests/test_gost_3410.cpp +++ b/src/tests/test_gost_3410.cpp @@ -7,9 +7,9 @@ #include "tests.h" #if defined(BOTAN_HAS_GOST_34_10_2001) - #include <botan/gost_3410.h> - #include <botan/oids.h> - #include "test_pubkey.h" + #include <botan/gost_3410.h> + #include <botan/oids.h> + #include "test_pubkey.h" #endif namespace Botan_Tests { @@ -22,10 +22,9 @@ class GOST_3410_2001_Verification_Tests : public PK_Signature_Verification_Test { public: GOST_3410_2001_Verification_Tests() : PK_Signature_Verification_Test( - "GOST 34.10-2001", - "pubkey/gost_3410_verify.vec", - "Group,Pubkey,Hash,Msg,Signature") - {} + "GOST 34.10-2001", + "pubkey/gost_3410_verify.vec", + "Group,Pubkey,Hash,Msg,Signature") {} std::unique_ptr<Botan::Public_Key> load_public_key(const VarMap& vars) override { @@ -47,10 +46,9 @@ class GOST_3410_2001_Signature_Tests : public PK_Signature_Generation_Test { public: GOST_3410_2001_Signature_Tests() : PK_Signature_Generation_Test( - "GOST 34.10-2001", - "pubkey/gost_3410_sign.vec", - "Group,Privkey,Hash,Nonce,Msg,Signature") - {} + "GOST 34.10-2001", + "pubkey/gost_3410_sign.vec", + "Group,Privkey,Hash,Nonce,Msg,Signature") {} std::unique_ptr<Botan::Private_Key> load_private_key(const VarMap& vars) override { @@ -76,8 +74,14 @@ class GOST_3410_2001_Signature_Tests : public PK_Signature_Generation_Test class GOST_3410_2001_Keygen_Tests : public PK_Key_Generation_Test { public: - std::vector<std::string> keygen_params() const override { return { "gost_256A", "secp256r1" }; } - std::string algo_name() const override { return "GOST-34.10"; } + std::vector<std::string> keygen_params() const override + { + return { "gost_256A", "secp256r1" }; + } + std::string algo_name() const override + { + return "GOST-34.10"; + } }; BOTAN_REGISTER_TEST("gost_3410_verify", GOST_3410_2001_Verification_Tests); |