summaryrefslogtreecommitdiff
path: root/twofish.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-05 09:35:19 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-05 09:35:19 -0400
commit0bc85ca42fe6849189fa8033357b65f71eea81ec (patch)
tree890c6601d3ce029799ee4643a709975fbee7b65c /twofish.h
parent5057991a31bae69d0ff4bcfe3f9c47f2fb210242 (diff)
downloadcryptopp-git-0bc85ca42fe6849189fa8033357b65f71eea81ec.tar.gz
Fix Twofish VariableKeyLength information (Issue 252)
Diffstat (limited to 'twofish.h')
-rw-r--r--twofish.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/twofish.h b/twofish.h
index 5ebc2440..f6d75ca8 100644
--- a/twofish.h
+++ b/twofish.h
@@ -13,7 +13,7 @@ NAMESPACE_BEGIN(CryptoPP)
//! \class Twofish_Info
//! \brief Twofish block cipher information
-struct Twofish_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 0, 32>, FixedRounds<16>
+struct Twofish_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 16, 32, 8>, FixedRounds<16>
{
static const char *StaticAlgorithmName() {return "Twofish";}
};