diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-06-02 16:28:25 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-06-02 16:28:25 -0400 |
commit | d286f89b3f4d4a9a9b2fb08453b647ab22e489a2 (patch) | |
tree | d11d39cd4ee1bd7f81a80d721f4351f279c16790 | |
parent | edc7689a7fa4caef1b97a6f0b940b98bf6d74f75 (diff) | |
download | cryptopp-git-d286f89b3f4d4a9a9b2fb08453b647ab22e489a2.tar.gz |
Fix Threefish blocksize parameter (GH #663)
-rw-r--r-- | threefish.h | 4 |
1 files 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, <a href="http://www.cryptopp.com/wiki/Threefish">Threefish</a>
/// \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, <a href="http://www.cryptopp.com/wiki/Threefish">Threefish</a>
/// \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
|