Fix Threefish blocksize parameter (GH #663)

pull/665/head
Jeffrey Walton 2018-06-02 16:28:25 -04:00
parent edc7689a7f
commit d286f89b3f
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ typedef Threefish256::Decryption Threefish256Decryption;
/// \note Crypto++ provides a byte oriented implementation /// \note Crypto++ provides a byte oriented implementation
/// \sa Threefish256, Threefish512, Threefish1024, <a href="http://www.cryptopp.com/wiki/Threefish">Threefish</a> /// \sa Threefish256, Threefish512, Threefish1024, <a href="http://www.cryptopp.com/wiki/Threefish">Threefish</a>
/// \since Crypto++ 6.0 /// \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: public:
/// \brief Threefish block cipher transformation functions /// \brief Threefish block cipher transformation functions
@ -157,7 +157,7 @@ typedef Threefish512::Decryption Threefish512Decryption;
/// \note Crypto++ provides a byte oriented implementation /// \note Crypto++ provides a byte oriented implementation
/// \sa Threefish256, Threefish512, Threefish1024, <a href="http://www.cryptopp.com/wiki/Threefish">Threefish</a> /// \sa Threefish256, Threefish512, Threefish1024, <a href="http://www.cryptopp.com/wiki/Threefish">Threefish</a>
/// \since Crypto++ 6.0 /// \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: public:
/// \brief Threefish block cipher transformation functions /// \brief Threefish block cipher transformation functions