Fix Serpent VariableKeyLength information (Issue 252)

pull/131/merge
Jeffrey Walton 2016-09-05 09:50:26 -04:00
parent 88bc98fa25
commit ea02dc0b94
2 changed files with 12 additions and 12 deletions

View File

@ -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";}
};