summaryrefslogtreecommitdiff
path: root/serpent.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-05 09:50:26 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-05 09:50:26 -0400
commitea02dc0b945237d8743ebf0d549f103612be63d6 (patch)
tree7495472a21ec62dbb32100c31d1f7aac8462d0a5 /serpent.h
parent88bc98fa2507eef8597c2030be9643c9f55ad004 (diff)
downloadcryptopp-git-ea02dc0b945237d8743ebf0d549f103612be63d6.tar.gz
Fix Serpent VariableKeyLength information (Issue 252)
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 64fd0e5c..888d70af 100644
--- a/serpent.h
+++ b/serpent.h
@@ -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";}
};