diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-12-13 23:53:50 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-12-13 23:53:50 -0500 |
commit | d9502a6ea93d7d5a5de6a0c8c28d807efeb1559b (patch) | |
tree | 488173a182613a9a21f71e3197dbdd9cd6882e44 /tea.h | |
parent | 5a28b8e184f54e71a4148601f7da78d67a7e9590 (diff) | |
download | cryptopp-git-d9502a6ea93d7d5a5de6a0c8c28d807efeb1559b.tar.gz |
Updated documentation
Diffstat (limited to 'tea.h')
-rw-r--r-- | tea.h | 23 |
1 files changed, 16 insertions, 7 deletions
@@ -12,13 +12,16 @@ NAMESPACE_BEGIN(CryptoPP)
-//! _
+//! \class TEA_Info
+//! \brief TEA block cipher information
struct TEA_Info : public FixedBlockSize<8>, public FixedKeyLength<16>, public VariableRounds<32>
{
static const char *StaticAlgorithmName() {return "TEA";}
};
-/// <a href="http://www.weidai.com/scan-mirror/cs.html#TEA">TEA</a>
+//! \class TEA
+//! \brief TEA block cipher
+//! \sa <a href="http://www.weidai.com/scan-mirror/cs.html#TEA">TEA</a>
class TEA : public TEA_Info, public BlockCipherDocumentation
{
class CRYPTOPP_NO_VTABLE Base : public BlockCipherImpl<TEA_Info>
@@ -51,13 +54,16 @@ public: typedef TEA::Encryption TEAEncryption;
typedef TEA::Decryption TEADecryption;
-//! _
+//! \class XTEA_Info
+//! \brief XTEA block cipher information
struct XTEA_Info : public FixedBlockSize<8>, public FixedKeyLength<16>, public VariableRounds<32>
{
static const char *StaticAlgorithmName() {return "XTEA";}
};
-/// <a href="http://www.weidai.com/scan-mirror/cs.html#TEA">XTEA</a>
+//! \class XTEA
+//! \brief XTEA block cipher
+//! \sa <a href="http://www.weidai.com/scan-mirror/cs.html#TEA">XTEA</a>
class XTEA : public XTEA_Info, public BlockCipherDocumentation
{
class CRYPTOPP_NO_VTABLE Base : public BlockCipherImpl<XTEA_Info>
@@ -87,14 +93,17 @@ public: typedef BlockCipherFinal<DECRYPTION, Dec> Decryption;
};
-//! _
+//! \class BTEA_Info
+//! \brief BTEA block cipher information
struct BTEA_Info : public FixedKeyLength<16>
{
static const char *StaticAlgorithmName() {return "BTEA";}
};
-//! <a href="http://www.weidai.com/scan-mirror/cs.html#TEA">corrected Block TEA</a> (as described in "xxtea").
-/*! This class hasn't been tested yet. */
+//! \class BTEA
+//! \brief BTEA block cipher
+//! \details Corrected Block TEA as described in "xxtea". This class hasn't been tested yet.
+//! \sa <a href="http://www.weidai.com/scan-mirror/cs.html#TEA">Corrected Block TEA</a>.
class BTEA : public BTEA_Info, public BlockCipherDocumentation
{
class CRYPTOPP_NO_VTABLE Base : public AlgorithmImpl<SimpleKeyingInterfaceImpl<BlockCipher, BTEA_Info>, BTEA_Info>, public BTEA_Info
|