Crypto++
8.9
Free C++ class library of cryptographic schemes
|
TTMAC message authentication code information. More...
Public Member Functions | |
unsigned int | DigestSize () const |
void | UncheckedSetKey (const byte *userKey, unsigned int keylength, const NameValuePairs ¶ms) |
void | TruncatedFinal (byte *mac, size_t size) |
![]() | |
unsigned int | BlockSize () const |
Provides the block size of the hash. More... | |
ByteOrder | GetByteOrder () const |
Provides the byte order of the hash. More... | |
void | CorrectEndianess (HashWordType *out, const HashWordType *in, size_t byteCount) |
Adjusts the byte ordering of the hash. More... | |
![]() | |
IteratedHashBase () | |
Construct an IteratedHashBase. | |
unsigned int | OptimalBlockSize () const |
Provides the input block size most efficient for this cipher. More... | |
unsigned int | OptimalDataAlignment () const |
Provides input and output data alignment for optimal performance. More... | |
void | Update (const byte *input, size_t length) |
Updates a hash with additional input. More... | |
byte * | CreateUpdateSpace (size_t &size) |
Requests space which can be written into by the caller. More... | |
void | Restart () |
Restart the hash. More... | |
void | TruncatedFinal (byte *digest, size_t digestSize) |
Computes the hash of the current message. More... | |
virtual std::string | AlgorithmProvider () const |
Retrieve the provider of this algorithm. More... | |
Static Public Member Functions | |
static std::string | StaticAlgorithmName () |
![]() | |
static size_t | StaticGetValidKeyLength (size_t keylength) |
The default key length for the algorithm provided by a static function. More... | |
Static Public Attributes | |
static const int | DIGESTSIZE =20 |
![]() | |
static const int | KEYLENGTH |
The default key length used by the algorithm provided as a constant. More... | |
static const int | MIN_KEYLENGTH |
The minimum key length used by the algorithm provided as a constant. More... | |
static const int | MAX_KEYLENGTH |
The maximum key length used by the algorithm provided as a constant. More... | |
static const int | DEFAULT_KEYLENGTH |
The default key length used by the algorithm provided as a constant. More... | |
static const int | IV_REQUIREMENT |
The default IV requirements for the algorithm provided as a constant. More... | |
static const int | IV_LENGTH |
The default IV length used by the algorithm provided as a constant. More... | |
![]() | |
static const int | BLOCKSIZE |
Additional Inherited Members | |
![]() | |
typedef LittleEndian | ByteOrderClass |
typedef word32 | HashWordType |
![]() | |
typedef T | HashWordType |