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";} };