|
Security Scol plugin
|
TTMAC message authentication code information. More...
#include <ttmac.h>
Public Member Functions | |
| CRYPTOPP_CONSTANT (DIGESTSIZE=20) | |
| unsigned int | DigestSize () const |
| void | UncheckedSetKey (const byte *userKey, unsigned int keylength, const NameValuePairs ¶ms) |
| void | TruncatedFinal (byte *mac, size_t size) |
Public Member Functions inherited from FixedKeyLength< 20 > | |
| CRYPTOPP_CONSTANT (KEYLENGTH=N) | |
| The default key length used by the algorithm provided as a constant. | |
| CRYPTOPP_CONSTANT (MIN_KEYLENGTH=N) | |
| The minimum key length used by the algorithm provided as a constant. | |
| CRYPTOPP_CONSTANT (MAX_KEYLENGTH=N) | |
| The maximum key length used by the algorithm provided as a constant. | |
| CRYPTOPP_CONSTANT (DEFAULT_KEYLENGTH=N) | |
| The default key length used by the algorithm provided as a constant. | |
| CRYPTOPP_CONSTANT (IV_REQUIREMENT=SimpleKeyingInterface::NOT_RESYNCHRONIZABLE) | |
| The default IV requirements for the algorithm provided as a constant. | |
| CRYPTOPP_CONSTANT (IV_LENGTH=0) | |
| The default IV length used by the algorithm provided as a constant. | |
| CRYPTOPP_STATIC_CONSTEXPR size_t CRYPTOPP_API | StaticGetValidKeyLength (size_t keylength) |
| The default key length for the algorithm provided by a static function. | |
Public Member Functions inherited from IteratedHash< word32, LittleEndian, 64, MessageAuthenticationCode > | |
| CRYPTOPP_CONSTANT (BLOCKSIZE=T_BlockSize) | |
| CRYPTOPP_COMPILE_ASSERT ((T_BlockSize &(T_BlockSize - 1))==0) | |
| unsigned int | BlockSize () const |
| Provides the block size of the hash. | |
| ByteOrder | GetByteOrder () const |
| Provides the byte order of the hash. | |
| void | CorrectEndianess (HashWordType *out, const HashWordType *in, size_t byteCount) |
| Adjusts the byte ordering of the hash. | |
Public Member Functions inherited from IteratedHashBase< T, BASE > | |
| IteratedHashBase () | |
| Construct an IteratedHashBase. | |
| unsigned int | OptimalBlockSize () const |
| Provides the input block size most efficient for this cipher. | |
| unsigned int | OptimalDataAlignment () const |
| Provides input and output data alignment for optimal performance. | |
| void | Update (const byte *input, size_t length) |
| Updates a hash with additional input. | |
| byte * | CreateUpdateSpace (size_t &size) |
| Requests space which can be written into by the caller. | |
| void | Restart () |
| Restart the hash. | |
| void | TruncatedFinal (byte *digest, size_t digestSize) |
| Computes the hash of the current message. | |
| virtual std::string | AlgorithmProvider () const |
| Retrieve the provider of this algorithm. | |
Static Public Member Functions | |
| static std::string | StaticAlgorithmName () |
Protected Member Functions | |
| void | HashEndianCorrectedBlock (const word32 *data) |
| void | Init () |
| word32 * | StateBuf () |
Protected Member Functions inherited from IteratedHash< word32, LittleEndian, 64, MessageAuthenticationCode > | |
| word32 * | DataBuf () |
Protected Member Functions inherited from IteratedHashBase< T, BASE > | |
| T | GetBitCountHi () const |
| T | GetBitCountLo () const |
| void | PadLastBlock (unsigned int lastBlockSize, byte padFirst=0x80) |
| virtual void | HashEndianCorrectedBlock (const HashWordType *data)=0 |
| virtual size_t | HashMultipleBlocks (const T *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, 10 > | m_digest |
| FixedSizeSecBlock< word32, 5 > | m_key |
Protected Attributes inherited from IteratedHash< word32, LittleEndian, 64, MessageAuthenticationCode > | |
| FixedSizeSecBlock< word32, Blocks > | m_data |
Additional Inherited Members | |
Public Types inherited from IteratedHash< word32, LittleEndian, 64, MessageAuthenticationCode > | |
| typedef LittleEndian | ByteOrderClass |
| typedef word32 | HashWordType |
Public Types inherited from IteratedHashBase< T, BASE > | |
| typedef T | HashWordType |
Protected Types inherited from IteratedHash< word32, LittleEndian, 64, MessageAuthenticationCode > | |
| enum | |
|
inlineprotected |
|
protectedvirtual |
Implements IteratedHashBase< T, BASE >.
|
inlineprotectedvirtual |
Implements IteratedHashBase< T, BASE >.
|
inlinestatic |
| void TTMAC_Base::TruncatedFinal | ( | byte * | mac, |
| size_t | size | ||
| ) |
| void TTMAC_Base::UncheckedSetKey | ( | const byte * | userKey, |
| unsigned int | keylength, | ||
| const NameValuePairs & | params | ||
| ) |
|
protected |
|
protected |