summaryrefslogtreecommitdiff
path: root/rc6.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-05 13:01:44 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-05 13:01:44 -0400
commit0d14a527906b4f1dc5700c0e0b5913a7aad444e4 (patch)
tree3b4ea3ed0a79237e065b39b4d960875e61ae3fc2 /rc6.h
parent022c33a172e1b2625a9ebf7658566d399600913f (diff)
downloadcryptopp-git-0d14a527906b4f1dc5700c0e0b5913a7aad444e4.tar.gz
Fix RC6 VariableKeyLength information (Issue 252)
Diffstat (limited to 'rc6.h')
-rw-r--r--rc6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc6.h b/rc6.h
index 13b7bfa9..9ac55d80 100644
--- a/rc6.h
+++ b/rc6.h
@@ -13,7 +13,7 @@ NAMESPACE_BEGIN(CryptoPP)
//! \class RC6_Info
//! \brief RC6 block cipher information
-struct RC6_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 0, 255>, public VariableRounds<20>
+struct RC6_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 16, 32, 8>, public VariableRounds<20>
{
static const char *StaticAlgorithmName() {return "RC6";}
typedef word32 RC6_WORD;