Update cast.h

Returned valid size is 16+1+1+1+1+1.... instead of 16+4... (16, 20, 24, 28, 32)
pull/258/head
Flo 2016-09-07 19:16:35 +02:00 committed by GitHub
parent f0a4f74a23
commit 931d972add
1 changed files with 1 additions and 1 deletions

2
cast.h
View File

@ -58,7 +58,7 @@ public:
//! \class CAST256_Info //! \class CAST256_Info
//! \brief CAST256 block cipher information //! \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";} static const char *StaticAlgorithmName() {return "CAST-256";}
}; };