From d286f89b3f4d4a9a9b2fb08453b647ab22e489a2 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 2 Jun 2018 16:28:25 -0400 Subject: Fix Threefish blocksize parameter (GH #663) --- threefish.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/threefish.h b/threefish.h index d78d4219..040a5715 100644 --- a/threefish.h +++ b/threefish.h @@ -113,7 +113,7 @@ typedef Threefish256::Decryption Threefish256Decryption; /// \note Crypto++ provides a byte oriented implementation /// \sa Threefish256, Threefish512, Threefish1024, Threefish /// \since Crypto++ 6.0 -class CRYPTOPP_NO_VTABLE Threefish512 : public Threefish_Base<32>, public BlockCipherDocumentation +class CRYPTOPP_NO_VTABLE Threefish512 : public Threefish_Base<64>, public BlockCipherDocumentation { public: /// \brief Threefish block cipher transformation functions @@ -157,7 +157,7 @@ typedef Threefish512::Decryption Threefish512Decryption; /// \note Crypto++ provides a byte oriented implementation /// \sa Threefish256, Threefish512, Threefish1024, Threefish /// \since Crypto++ 6.0 -class CRYPTOPP_NO_VTABLE Threefish1024 : public Threefish_Base<32>, public BlockCipherDocumentation +class CRYPTOPP_NO_VTABLE Threefish1024 : public Threefish_Base<128>, public BlockCipherDocumentation { public: /// \brief Threefish block cipher transformation functions -- cgit v1.2.1