diff options
Diffstat (limited to 'src/hash/tiger')
-rw-r--r-- | src/hash/tiger/tiger.cpp | 5 | ||||
-rw-r--r-- | src/hash/tiger/tiger.h | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/hash/tiger/tiger.cpp b/src/hash/tiger/tiger.cpp index d931324e0..9d3e2cbe4 100644 --- a/src/hash/tiger/tiger.cpp +++ b/src/hash/tiger/tiger.cpp @@ -167,7 +167,10 @@ std::string Tiger::name() const * Tiger Constructor */ Tiger::Tiger(u32bit hashlen, u32bit pass) : - MDx_HashFunction(hashlen, 64, false, false), PASS(pass) + MDx_HashFunction(hashlen, 64, false, false), + X(8), + digest(3), + PASS(pass) { if(OUTPUT_LENGTH != 16 && OUTPUT_LENGTH != 20 && OUTPUT_LENGTH != 24) throw Invalid_Argument("Tiger: Illegal hash output size: " + diff --git a/src/hash/tiger/tiger.h b/src/hash/tiger/tiger.h index 94665b902..4b8a99344 100644 --- a/src/hash/tiger/tiger.h +++ b/src/hash/tiger/tiger.h @@ -44,8 +44,7 @@ class BOTAN_DLL Tiger : public MDx_HashFunction static const u64bit SBOX3[256]; static const u64bit SBOX4[256]; - SecureVector<u64bit, 8> X; - SecureVector<u64bit, 3> digest; + SecureVector<u64bit> X, digest; const u32bit PASS; }; |