diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-01-29 12:29:52 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-01-29 12:29:52 -0500 |
commit | f8ff9e2c7f074d6271248e6aa477adfd413a326c (patch) | |
tree | 8d887f372cd67a03acddd9df9967b6ee7365cee5 /eax.h | |
parent | b6a32c063af00bda0acec41dfceed84c28f9a15e (diff) | |
download | cryptopp-git-f8ff9e2c7f074d6271248e6aa477adfd413a326c.tar.gz |
Updated documentation
Diffstat (limited to 'eax.h')
-rw-r--r-- | eax.h | 20 |
1 files changed, 7 insertions, 13 deletions
@@ -1,7 +1,6 @@ // eax.h - written and placed in the public domain by Wei Dai
-//! \file
-//! \headerfile eax.h
+//! \file eax.h
//! \brief EAX block cipher mode of operation
#ifndef CRYPTOPP_EAX_H
@@ -14,8 +13,8 @@ NAMESPACE_BEGIN(CryptoPP)
//! \class EAX_Base
-//! \brief EAX block cipher mode of operation
-//! \details Implementations and overrides in \p EAX_Base apply to both \p ENCRYPTION and \p DECRYPTION directions
+//! \brief EAX block cipher base implementation
+//! \details Base implementation of the AuthenticatedSymmetricCipher interface
class CRYPTOPP_NO_VTABLE EAX_Base : public AuthenticatedSymmetricCipherBase
{
public:
@@ -68,12 +67,9 @@ protected: };
//! \class EAX_Final
-//! \brief Class specific methods used to operate the cipher.
+//! \brief EAX block cipher final implementation
//! \tparam T_BlockCipher block cipher
//! \tparam T_IsEncryption direction in which to operate the cipher
-//! \details Implementations and overrides in \p GCM_Final apply to either
-//! \p ENCRYPTION or \p DECRYPTION, depending on the template parameter \p T_IsEncryption.
-//! \details \p EAX_Final does not use inner classes \p Enc and \p Dec.
template <class T_BlockCipher, bool T_IsEncryption>
class EAX_Final : public EAX_Base
{
@@ -93,12 +89,10 @@ private: #endif
//! \class EAX
-//! \brief The EAX block cipher mode of operation
-//! \details EAX is an Authenticated Encryption with Associated Data (AEAD) block
-//! cipher mode of operation designed to simultaneously provide both authentication
-//! and privacy of the message.
+//! \brief EAX block cipher mode of operation
//! \tparam T_BlockCipher block cipher
-//! \details \p EAX provides the \p Encryption and \p Decryption typedef.
+//! \details \p EAX provides the \p Encryption and \p Decryption typedef. See EAX_Base
+//! and EAX_Final for the AuthenticatedSymmetricCipher implementation.
//! \sa <a href="http://www.cryptolounge.org/wiki/EAX">EAX</a> at the Crypto Lounge
template <class T_BlockCipher>
struct EAX : public AuthenticatedSymmetricCipherDocumentation
|