diff options
Diffstat (limited to 'src/hash/gost_3411')
-rw-r--r-- | src/hash/gost_3411/gost_3411.cpp | 1 | ||||
-rw-r--r-- | src/hash/gost_3411/gost_3411.h | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/hash/gost_3411/gost_3411.cpp b/src/hash/gost_3411/gost_3411.cpp index fd47ba2c7..075f26889 100644 --- a/src/hash/gost_3411/gost_3411.cpp +++ b/src/hash/gost_3411/gost_3411.cpp @@ -16,7 +16,6 @@ namespace Botan { * GOST 34.11 Constructor */ GOST_34_11::GOST_34_11() : - HashFunction(32), cipher(GOST_28147_89_Params("R3411_CryptoPro")), buffer(32), sum(32), diff --git a/src/hash/gost_3411/gost_3411.h b/src/hash/gost_3411/gost_3411.h index 64ea0f40c..fbbcb7a89 100644 --- a/src/hash/gost_3411/gost_3411.h +++ b/src/hash/gost_3411/gost_3411.h @@ -19,11 +19,12 @@ namespace Botan { class BOTAN_DLL GOST_34_11 : public HashFunction { public: - void clear(); std::string name() const { return "GOST-R-34.11-94" ; } + size_t output_length() const { return 32; } + size_t hash_block_size() const { return 32; } HashFunction* clone() const { return new GOST_34_11; } - size_t hash_block_size() const { return 32; } + void clear(); GOST_34_11(); private: |