|
| CRYPTOPP_CONSTANT (DIGESTSIZE=T_DigestSize ? T_DigestSize :T_StateSize) |
|
unsigned int | DigestSize () const |
| Provides the digest size of the hash.
|
|
Clonable * | Clone () const |
| Create a copy of this object.
|
|
std::string | AlgorithmName () const |
| The algorithm name.
|
|
| 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.
|
|
| 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.
|
|
template<class T_HashWordType, class T_Endianness, unsigned int T_BlockSize, unsigned int T_StateSize, class T_Transform, unsigned int T_DigestSize = 0, bool T_StateAligned = false>
class IteratedHashWithStaticTransform< T_HashWordType, T_Endianness, T_BlockSize, T_StateSize, T_Transform, T_DigestSize, T_StateAligned >
Iterated hash with a static transformation function.
- Template Parameters
-
T_HashWordType | Hash word type |
T_Endianness | Endianness type of hash |
T_BlockSize | Block size of the hash |
T_StateSize | Internal state size of the hash |
T_Transform | HashTransformation derived class |
T_DigestSize | Digest size of the hash |
T_StateAligned | Flag indicating if state is 16-byte aligned |
- See also
- HashTransformation, MessageAuthenticationCode
Definition at line 180 of file iterhash.h.
template<class T_HashWordType , class T_Endianness , unsigned int T_BlockSize, unsigned int T_StateSize, class T_Transform , unsigned int T_DigestSize = 0, bool T_StateAligned = false>
template<class T_HashWordType , class T_Endianness , unsigned int T_BlockSize, unsigned int T_StateSize, class T_Transform , unsigned int T_DigestSize = 0, bool T_StateAligned = false>
unsigned int IteratedHashWithStaticTransform< T_HashWordType, T_Endianness, T_BlockSize, T_StateSize, T_Transform, T_DigestSize, T_StateAligned >::DigestSize |
( |
| ) |
const |
|
inline |
Provides the digest size of the hash.
- Returns
- the digest size of the hash, in bytes
DigestSize() returns DIGESTSIZE
.
Definition at line 191 of file iterhash.h.
template<class T_HashWordType , class T_Endianness , unsigned int T_BlockSize, unsigned int T_StateSize, class T_Transform , unsigned int T_DigestSize = 0, bool T_StateAligned = false>
void IteratedHashWithStaticTransform< T_HashWordType, T_Endianness, T_BlockSize, T_StateSize, T_Transform, T_DigestSize, T_StateAligned >::HashEndianCorrectedBlock |
( |
const T_HashWordType * |
data | ) |
|
|
inlineprotected |
template<class T_HashWordType , class T_Endianness , unsigned int T_BlockSize, unsigned int T_StateSize, class T_Transform , unsigned int T_DigestSize = 0, bool T_StateAligned = false>
template<class T_HashWordType , class T_Endianness , unsigned int T_BlockSize, unsigned int T_StateSize, class T_Transform , unsigned int T_DigestSize = 0, bool T_StateAligned = false>
T_HashWordType * IteratedHashWithStaticTransform< T_HashWordType, T_Endianness, T_BlockSize, T_StateSize, T_Transform, T_DigestSize, T_StateAligned >::StateBuf |
( |
| ) |
|
|
inlineprotectedvirtual |