From 931d972add921cc8b48325bbb9578ab44f6edab5 Mon Sep 17 00:00:00 2001 From: Flo Date: Wed, 7 Sep 2016 19:16:35 +0200 Subject: [PATCH] Update cast.h Returned valid size is 16+1+1+1+1+1.... instead of 16+4... (16, 20, 24, 28, 32) --- cast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";} };