diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-09-28 04:42:48 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-09-28 04:42:48 -0400 |
commit | db641b9258c41c93fc922197cb20aac9f6ff2fa4 (patch) | |
tree | a33c92a9364775c2dd94d76345b0b55a6cfefdd2 /threefish.h | |
parent | 7ef1c47c6d85ed505721de20e9d90d1450f8e389 (diff) | |
download | cryptopp-git-db641b9258c41c93fc922197cb20aac9f6ff2fa4.tar.gz |
Update documentation
Diffstat (limited to 'threefish.h')
-rw-r--r-- | threefish.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/threefish.h b/threefish.h index 5294a273..69455d85 100644 --- a/threefish.h +++ b/threefish.h @@ -56,13 +56,16 @@ struct Threefish_Info : public VariableBlockSize<32, 32, 128> }
};
-//! \class Threefish1024
-//! \brief Threefish-1024 block cipher
+//! \class Threefish
+//! \brief Threefish block cipher
//! \sa <a href="http://www.weidai.com/scan-mirror/cs.html#Threefish">Threefish</a>
//! \since Crypto++ 6.0
class Threefish : public Threefish_Info, public BlockCipherDocumentation
{
public:
+ //! \brief Threefish block cipher data processing functions
+ //! \details Provides implementation common to encryption and decryption
+ //! \since Crypto++ 6.0
class CRYPTOPP_NO_VTABLE Base : public VariableBlockCipherImpl<Threefish_Info>
{
public:
@@ -84,6 +87,10 @@ public: AlignedSecBlock64 m_tweak;
};
+ //! \brief Provides implementation for encryption transformation
+ //! \details Enc provides implementation for encryption transformation. All key and block
+ //! sizes are supported.
+ //! \since Crypto++ 6.0
class CRYPTOPP_NO_VTABLE Enc : public Base
{
protected:
@@ -94,6 +101,10 @@ public: void ProcessAndXorBlock_1024(const byte *inBlock, const byte *xorBlock, byte *outBlock) const;
};
+ //! \brief Provides implementation for decryption transformation
+ //! \details Dec provides implementation for encryption transformation. All key and block
+ //! sizes are supported.
+ //! \since Crypto++ 6.0
class CRYPTOPP_NO_VTABLE Dec : public Base
{
protected:
|