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 |