Merge pull request #258 from Blacktempel/patch-3

Fix for CAST256 - Key-size
pull/131/merge
Jeffrey Walton 2016-09-08 01:26:42 -04:00 committed by GitHub
commit ef0bf87dc2
1 changed files with 1 additions and 1 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";}
};