From 063411369fe0646f4b4a6a05bbb6b329d101368c Mon Sep 17 00:00:00 2001 From: weidai Date: Wed, 5 Dec 2007 14:22:18 +0000 Subject: [PATCH] change minimum key size to 0 --- serpent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serpent.h b/serpent.h index 39e63d04..f7ee8d61 100644 --- a/serpent.h +++ b/serpent.h @@ -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";} };