#include <ttmac.h>
Inheritance diagram for TTMAC_Base:

Definition at line 12 of file ttmac.h.
Public Types | |
| enum | { DIGESTSIZE = 20 } |
| enum | |
| enum | |
| enum | { BLOCKSIZE = T_BlockSize } |
| typedef T_Endianness | ByteOrderClass |
| typedef T_HashWordType | HashWordType |
Public Member Functions | |
| TTMAC_Base () | |
| unsigned int | DigestSize () const |
| void | UncheckedSetKey (const byte *userKey, unsigned int keylength) |
| void | TruncatedFinal (byte *mac, size_t size) |
| ByteOrder | GetByteOrder () const |
| unsigned int | BlockSize () const |
| unsigned int | OptimalBlockSize () const |
| unsigned int | OptimalDataAlignment () const |
| void | Update (const byte *input, size_t length) |
| byte * | CreateUpdateSpace (size_t &size) |
| void | Restart () |
Static Public Member Functions | |
| static std::string | StaticAlgorithmName () |
| static size_t __cdecl | StaticGetValidKeyLength (size_t) |
| static void | CorrectEndianess (HashWordType *out, const HashWordType *in, size_t byteCount) |
Static Public Attributes | |
|
static CompileAssert<((BLOCKSIZE &(BLOCKSIZE-1))==0)> | cryptopp_assert___LINE__ |
Protected Member Functions | |
| void | HashEndianCorrectedBlock (const word32 *data) |
| void | Init () |
| void | SetBlockSize (unsigned int blockSize) |
| void | SetStateSize (unsigned int stateSize) |
| T_HashWordType | GetBitCountHi () const |
| T_HashWordType | GetBitCountLo () const |
| void | PadLastBlock (unsigned int lastBlockSize, byte padFirst=0x80) |
| virtual void | HashEndianCorrectedBlock (const HashWordType *data)=0 |
| virtual size_t | HashMultipleBlocks (const T_HashWordType *input, size_t length) |
| void | HashBlock (const HashWordType *input) |
Static Protected Member Functions | |
| static void | Transform (word32 *digest, const word32 *X, bool last) |
Protected Attributes | |
|
FixedSizeSecBlock< word32, DIGESTSIZE > | m_key |
| SecBlock< T_HashWordType > | m_data |
| SecBlock< T_HashWordType > | m_digest |
1.5.1-p1