From 0bc85ca42fe6849189fa8033357b65f71eea81ec Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 5 Sep 2016 09:35:19 -0400 Subject: [PATCH] Fix Twofish VariableKeyLength information (Issue 252) --- twofish.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twofish.h b/twofish.h index 5ebc2440..f6d75ca8 100644 --- a/twofish.h +++ b/twofish.h @@ -13,7 +13,7 @@ NAMESPACE_BEGIN(CryptoPP) //! \class Twofish_Info //! \brief Twofish block cipher information -struct Twofish_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 0, 32>, FixedRounds<16> +struct Twofish_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 16, 32, 8>, FixedRounds<16> { static const char *StaticAlgorithmName() {return "Twofish";} };