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
parent
f0a4f74a23
commit
931d972add
2
cast.h
2
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";}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue