Fix CAST-128 and CAST-256 VariableKeyLength information (Issue 252)

pull/131/merge
Jeffrey Walton 2016-09-05 11:18:10 -04:00
parent b472b446fb
commit 0ee3ae136d
2 changed files with 44 additions and 44 deletions

2
cast.h
View File

@ -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";}
};