diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-09-05 09:35:19 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-09-05 09:35:19 -0400 |
commit | 0bc85ca42fe6849189fa8033357b65f71eea81ec (patch) | |
tree | 890c6601d3ce029799ee4643a709975fbee7b65c /twofish.h | |
parent | 5057991a31bae69d0ff4bcfe3f9c47f2fb210242 (diff) | |
download | cryptopp-git-0bc85ca42fe6849189fa8033357b65f71eea81ec.tar.gz |
Fix Twofish VariableKeyLength information (Issue 252)
Diffstat (limited to 'twofish.h')
-rw-r--r-- | twofish.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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";}
};
|