summaryrefslogtreecommitdiff
path: root/threefish.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-06-02 16:28:25 -0400
committerJeffrey Walton <noloader@gmail.com>2018-06-02 16:28:25 -0400
commitd286f89b3f4d4a9a9b2fb08453b647ab22e489a2 (patch)
treed11d39cd4ee1bd7f81a80d721f4351f279c16790 /threefish.h
parentedc7689a7fa4caef1b97a6f0b940b98bf6d74f75 (diff)
downloadcryptopp-git-d286f89b3f4d4a9a9b2fb08453b647ab22e489a2.tar.gz
Fix Threefish blocksize parameter (GH #663)
Diffstat (limited to 'threefish.h')
-rw-r--r--threefish.h4
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