change minimum key size to 0

pull/2/head
weidai 2007-12-05 14:22:18 +00:00
parent 89eb752f03
commit 063411369f
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
NAMESPACE_BEGIN(CryptoPP)
//! _
struct Serpent_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 1, 32>, public FixedRounds<32>
struct Serpent_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 0, 32>, public FixedRounds<32>
{
static const char *StaticAlgorithmName() {return "Serpent";}
};