summaryrefslogtreecommitdiff
path: root/cast.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-05 11:18:10 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-05 11:18:10 -0400
commit0ee3ae136d58abc240457dbb75b0aa6d1065c95b (patch)
tree8ebc0834663f2cd355f851ff55b9bb5d48f03f10 /cast.h
parentb472b446fb38d4d2467e59820311619b6d52b902 (diff)
downloadcryptopp-git-0ee3ae136d58abc240457dbb75b0aa6d1065c95b.tar.gz
Fix CAST-128 and CAST-256 VariableKeyLength information (Issue 252)
Diffstat (limited to 'cast.h')
-rw-r--r--cast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cast.h b/cast.h
index 05c0c50c..63f1e763 100644
--- a/cast.h
+++ b/cast.h
@@ -58,7 +58,7 @@ public:
//! \class CAST256_Info
//! \brief CAST256 block cipher information
-struct CAST256_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 16, 32>
+struct CAST256_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 16, 32, 4>
{
static const char *StaticAlgorithmName() {return "CAST-256";}
};