summaryrefslogtreecommitdiff
path: root/serpent.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-12-05 14:22:18 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-12-05 14:22:18 +0000
commit86081726cda32a2c89e90eaa254844c5f0675c8b (patch)
treefd1a0dabc839bdd7d0db2ca3f6099b2561de7430 /serpent.h
parent2af82878ebad135d0fecc53e54077862810a7273 (diff)
downloadcryptopp-86081726cda32a2c89e90eaa254844c5f0675c8b.tar.gz
change minimum key size to 0
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@418 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'serpent.h')
-rw-r--r--serpent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/serpent.h b/serpent.h
index 39e63d0..f7ee8d6 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";}
};