summaryrefslogtreecommitdiff
path: root/arc4.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-11-29 10:54:33 -0500
committerJeffrey Walton <noloader@gmail.com>2017-11-29 10:54:33 -0500
commit61ec50dabe14c5d4582ac187706ea27645b3562b (patch)
tree18a2eebb7adc8c9556ce132d7081a105fa058d6b /arc4.h
parent16ebfa72bf130c4725e652e4d3688d97d3feb0ee (diff)
downloadcryptopp-git-61ec50dabe14c5d4582ac187706ea27645b3562b.tar.gz
Change Doxygen comment style from //! to ///
Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
Diffstat (limited to 'arc4.h')
-rw-r--r--arc4.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/arc4.h b/arc4.h
index c406c1de..22a8f9e0 100644
--- a/arc4.h
+++ b/arc4.h
@@ -1,7 +1,7 @@
// arc4.h - originally written and placed in the public domain by Wei Dai
-//! \file arc4.h
-//! \brief Classes for ARC4 cipher
+/// \file arc4.h
+/// \brief Classes for ARC4 cipher
#ifndef CRYPTOPP_ARC4_H
#define CRYPTOPP_ARC4_H
@@ -15,10 +15,10 @@ NAMESPACE_BEGIN(CryptoPP)
namespace Weak1 {
-//! \class ARC4_Base
-//! \brief ARC4 base class
-//! \details Implementations and overrides in \p Base apply to both \p ENCRYPTION and \p DECRYPTION directions
-//! \since Crypto++ 1.0
+/// \class ARC4_Base
+/// \brief ARC4 base class
+/// \details Implementations and overrides in \p Base apply to both \p ENCRYPTION and \p DECRYPTION directions
+/// \since Crypto++ 1.0
class CRYPTOPP_NO_VTABLE ARC4_Base : public VariableKeyLength<16, 1, 256>, public RandomNumberGenerator, public SymmetricCipher, public SymmetricCipherDocumentation
{
public:
@@ -46,16 +46,16 @@ protected:
byte m_x, m_y;
};
-//! \class ARC4
-//! \brief Alleged RC4
-//! \sa <a href="http://www.cryptopp.com/wiki/RC4">Alleged RC4</a>
-//! \since Crypto++ 1.0
+/// \class ARC4
+/// \brief Alleged RC4
+/// \sa <a href="http://www.cryptopp.com/wiki/RC4">Alleged RC4</a>
+/// \since Crypto++ 1.0
DOCUMENTED_TYPEDEF(SymmetricCipherFinal<ARC4_Base>, ARC4)
-//! \class MARC4_Base
-//! \brief MARC4 base class
-//! \details Implementations and overrides in \p Base apply to both \p ENCRYPTION and \p DECRYPTION directions
-//! \details MARC4 discards the first 256 bytes of keystream, which may be weaker than the rest
+/// \class MARC4_Base
+/// \brief MARC4 base class
+/// \details Implementations and overrides in \p Base apply to both \p ENCRYPTION and \p DECRYPTION directions
+/// \details MARC4 discards the first 256 bytes of keystream, which may be weaker than the rest
class CRYPTOPP_NO_VTABLE MARC4_Base : public ARC4_Base
{
public:
@@ -68,10 +68,10 @@ protected:
unsigned int GetDefaultDiscardBytes() const {return 256;}
};
-//! \class MARC4
-//! \brief Modified Alleged RC4
-//! \sa <a href="http://www.cryptopp.com/wiki/RC4">Alleged RC4</a>
-//! \since Crypto++ 1.0
+/// \class MARC4
+/// \brief Modified Alleged RC4
+/// \sa <a href="http://www.cryptopp.com/wiki/RC4">Alleged RC4</a>
+/// \since Crypto++ 1.0
DOCUMENTED_TYPEDEF(SymmetricCipherFinal<MARC4_Base>, MARC4)
}