summaryrefslogtreecommitdiff
path: root/ttmac.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-06 02:51:16 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-06 02:51:16 -0400
commit45323bddd83982a183714d91167194f73bab1440 (patch)
tree8b6d2543d1fba8a03b12572b8571155a8e972df7 /ttmac.h
parent33522b39b1de5806798bded49e481baecb56dc58 (diff)
downloadcryptopp-git-45323bddd83982a183714d91167194f73bab1440.tar.gz
Initial fix for older Apple ld's non_lazy_ptr missing symbols (Issue 255)
Diffstat (limited to 'ttmac.h')
-rw-r--r--ttmac.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/ttmac.h b/ttmac.h
index 206ee293..47b32ca2 100644
--- a/ttmac.h
+++ b/ttmac.h
@@ -1,5 +1,8 @@
// ttmac.h - written and placed in the public domain by Kevin Springle
+//! \file ttmac.h
+//! \brief Classes for the TTMAC message authentication code
+
#ifndef CRYPTOPP_TTMAC_H
#define CRYPTOPP_TTMAC_H
@@ -9,7 +12,8 @@
NAMESPACE_BEGIN(CryptoPP)
-//! _
+//! \class TTMAC_Base
+//! \brief TTMAC message authentication code information
class CRYPTOPP_NO_VTABLE TTMAC_Base : public FixedKeyLength<20>, public IteratedHash<word32, LittleEndian, 64, MessageAuthenticationCode>
{
public:
@@ -30,8 +34,11 @@ protected:
FixedSizeSecBlock<word32, 5> m_key;
};
-//! <a href="http://www.weidai.com/scan-mirror/mac.html#TTMAC">Two-Track-MAC</a>
-/*! 160 Bit MAC with 160 Bit Key */
+//! \class TTMAC
+//! \brief Two-Track-MAC message authentication code
+//! \tparam T HashTransformation class
+//! \details 160-bit MAC with 160-bit key
+//! \sa MessageAuthenticationCode(), <a href="http://www.weidai.com/scan-mirror/mac.html#TTMAC">Two-Track-MAC</a>
DOCUMENTED_TYPEDEF(MessageAuthenticationCodeFinal<TTMAC_Base>, TTMAC)
NAMESPACE_END