summaryrefslogtreecommitdiff
path: root/cast.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-12-13 23:53:50 -0500
committerJeffrey Walton <noloader@gmail.com>2015-12-13 23:53:50 -0500
commitd9502a6ea93d7d5a5de6a0c8c28d807efeb1559b (patch)
tree488173a182613a9a21f71e3197dbdd9cd6882e44 /cast.h
parent5a28b8e184f54e71a4148601f7da78d67a7e9590 (diff)
downloadcryptopp-git-d9502a6ea93d7d5a5de6a0c8c28d807efeb1559b.tar.gz
Updated documentation
Diffstat (limited to 'cast.h')
-rw-r--r--cast.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/cast.h b/cast.h
index d464bbf7..05c0c50c 100644
--- a/cast.h
+++ b/cast.h
@@ -17,13 +17,16 @@ protected:
static const word32 S[8][256];
};
-//! algorithm info
+//! \class CAST128_Info
+//! \brief CAST128 block cipher information
struct CAST128_Info : public FixedBlockSize<8>, public VariableKeyLength<16, 5, 16>
{
static const char *StaticAlgorithmName() {return "CAST-128";}
};
-/// <a href="http://www.weidai.com/scan-mirror/cs.html#CAST-128">CAST-128</a>
+//! \class CAST128
+//! \brief CAST128 block cipher
+//! \sa <a href="http://www.weidai.com/scan-mirror/cs.html#CAST-128">CAST-128</a>
class CAST128 : public CAST128_Info, public BlockCipherDocumentation
{
class CRYPTOPP_NO_VTABLE Base : public CAST, public BlockCipherImpl<CAST128_Info>
@@ -53,13 +56,16 @@ public:
typedef BlockCipherFinal<DECRYPTION, Dec> Decryption;
};
-//! algorithm info
+//! \class CAST256_Info
+//! \brief CAST256 block cipher information
struct CAST256_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 16, 32>
{
static const char *StaticAlgorithmName() {return "CAST-256";}
};
-//! <a href="http://www.weidai.com/scan-mirror/cs.html#CAST-256">CAST-256</a>
+//! \class CAST256
+//! \brief CAST256 block cipher
+//! \sa <a href="http://www.weidai.com/scan-mirror/cs.html#CAST-256">CAST-256</a>
class CAST256 : public CAST256_Info, public BlockCipherDocumentation
{
class CRYPTOPP_NO_VTABLE Base : public CAST, public BlockCipherImpl<CAST256_Info>