diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-09-05 09:50:26 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-09-05 09:50:26 -0400 |
commit | ea02dc0b945237d8743ebf0d549f103612be63d6 (patch) | |
tree | 7495472a21ec62dbb32100c31d1f7aac8462d0a5 /serpent.h | |
parent | 88bc98fa2507eef8597c2030be9643c9f55ad004 (diff) | |
download | cryptopp-git-ea02dc0b945237d8743ebf0d549f103612be63d6.tar.gz |
Fix Serpent VariableKeyLength information (Issue 252)
Diffstat (limited to 'serpent.h')
-rw-r--r-- | serpent.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ NAMESPACE_BEGIN(CryptoPP) //! \class Serpent_Info
//! \brief Serpent block cipher information
-struct Serpent_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 0, 32>, public FixedRounds<32>
+struct Serpent_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 16, 32, 8>, public FixedRounds<32>
{
static const char *StaticAlgorithmName() {return "Serpent";}
};
|