summaryrefslogtreecommitdiff
path: root/cast.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-01-22 20:13:18 -0500
committerJeffrey Walton <noloader@gmail.com>2018-01-22 20:13:18 -0500
commitc9b00c14fd9c238ac3a797a53b3c01c4ab92f00e (patch)
treec1b079d0bc66e3d641121fe09831cd746e9913ba /cast.h
parente3d79bf98c3d068c4be602c544a0b2dec207d5a1 (diff)
downloadcryptopp-git-c9b00c14fd9c238ac3a797a53b3c01c4ab92f00e.tar.gz
Update documentation
Diffstat (limited to 'cast.h')
-rw-r--r--cast.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cast.h b/cast.h
index 515b3a97..08ac2951 100644
--- a/cast.h
+++ b/cast.h
@@ -2,6 +2,7 @@
/// \file cast.h
/// \brief Classes for the CAST-128 and CAST-256 block ciphers
+/// \since Crypto++ 2.2
#ifndef CRYPTOPP_CAST_H
#define CRYPTOPP_CAST_H
@@ -12,6 +13,7 @@
NAMESPACE_BEGIN(CryptoPP)
/// \brief CAST block cipher base
+/// \since Crypto++ 2.2
class CAST
{
protected:
@@ -19,6 +21,7 @@ protected:
};
/// \brief CAST128 block cipher information
+/// \since Crypto++ 2.2
struct CAST128_Info : public FixedBlockSize<8>, public VariableKeyLength<16, 5, 16>
{
CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "CAST-128";}
@@ -26,6 +29,7 @@ struct CAST128_Info : public FixedBlockSize<8>, public VariableKeyLength<16, 5,
/// \brief CAST128 block cipher
/// \sa <a href="http://www.cryptopp.com/wiki/CAST-128">CAST-128</a>
+/// \since Crypto++ 2.2
class CAST128 : public CAST128_Info, public BlockCipherDocumentation
{
/// \brief CAST128 block cipher default operation
@@ -59,6 +63,7 @@ public:
};
/// \brief CAST256 block cipher information
+/// \since Crypto++ 4.0
struct CAST256_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 16, 32, 4>
{
CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "CAST-256";}
@@ -66,6 +71,7 @@ struct CAST256_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 16
/// \brief CAST256 block cipher
/// \sa <a href="http://www.cryptopp.com/wiki/CAST-256">CAST-256</a>
+/// \since Crypto++ 4.0
class CAST256 : public CAST256_Info, public BlockCipherDocumentation
{
/// \brief CAST256 block cipher default operation