diff options
author | lloyd <[email protected]> | 2010-10-13 03:09:18 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-13 03:09:18 +0000 |
commit | 53d01738e99edfa58a061057186c2a72117ce5d7 (patch) | |
tree | 8d8abb63acbedfd46c6bdeec640f1f13475ba1f7 /src/hash/gost_3411 | |
parent | 61ed0d4d90164675396feb7c7cecdd3bc5012f91 (diff) |
Remove HashFunction::HASH_BLOCK_SIZE entirely
Diffstat (limited to 'src/hash/gost_3411')
-rw-r--r-- | src/hash/gost_3411/gost_3411.cpp | 2 | ||||
-rw-r--r-- | src/hash/gost_3411/gost_3411.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/hash/gost_3411/gost_3411.cpp b/src/hash/gost_3411/gost_3411.cpp index 47e073e1f..fd47ba2c7 100644 --- a/src/hash/gost_3411/gost_3411.cpp +++ b/src/hash/gost_3411/gost_3411.cpp @@ -16,7 +16,7 @@ namespace Botan { * GOST 34.11 Constructor */ GOST_34_11::GOST_34_11() : - HashFunction(32, 32), + 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 1e9f3189d..64ea0f40c 100644 --- a/src/hash/gost_3411/gost_3411.h +++ b/src/hash/gost_3411/gost_3411.h @@ -23,6 +23,8 @@ class BOTAN_DLL GOST_34_11 : public HashFunction std::string name() const { return "GOST-R-34.11-94" ; } HashFunction* clone() const { return new GOST_34_11; } + size_t hash_block_size() const { return 32; } + GOST_34_11(); private: void compress_n(const byte input[], size_t blocks); |