SHA-224 message digest.
More...
#include <sha.h>
|
std::string | AlgorithmProvider () const |
|
unsigned int | DigestSize () const |
| Provides the digest size of the hash.
|
|
Clonable * | Clone () const |
| Create a copy of this object.
|
|
|
static void | InitState (HashWordType *state) |
| Initialize state array.
|
|
static void | Transform (HashWordType *digest, const HashWordType *data) |
| Operate the hash.
|
|
static const char * | StaticAlgorithmName () |
| The algorithm name.
|
|
SHA-224 message digest.
- See also
- SHA-224
- Since
- SHA2 since Crypto++ 4.0, ARMv8 SHA since Crypto++ 6.0, Intel SHA since Crypto++ 6.0, Power8 SHA since Crypto++ 6.1
Definition at line 103 of file sha.h.
◆ InitState()
static void SHA224::InitState |
( |
HashWordType * | state | ) |
|
|
static |
Initialize state array.
- Parameters
-
state | the state of the hash |
InitState sets a state array to SHA224 initial values
Hashes which derive from IteratedHashWithStaticTransform provide static member functions InitState and Transform. External classes, like SEAL and MDC, can initialize state with a user provided key and operate the hash on the data with the user supplied state.
- Note
- On Intel platforms the state array must be 16-byte aligned for SSE2.
◆ Transform()
static void SHA224::Transform |
( |
HashWordType * | digest, |
|
|
const HashWordType * | data ) |
|
inlinestatic |
Operate the hash.
- Parameters
-
digest | the state of the hash |
data | the data to be digested |
Transform operates the hash on data
. When the call is invoked digest
holds initial state. Upon return digest
holds the hash or updated state.
Hashes which derive from IteratedHashWithStaticTransform provide static member functions InitState and Transform. External classes, like SEAL and MDC, can initialize state with a user provided key and operate the hash on the data with the user supplied state.
- Note
- On Intel platforms the state array and data must be 16-byte aligned for SSE2.
Definition at line 126 of file sha.h.
◆ StaticAlgorithmName()
static const char * SHA224::StaticAlgorithmName |
( |
| ) |
|
|
inlinestatic |
The algorithm name.
- Returns
- C-style string "SHA-224"
Definition at line 129 of file sha.h.
The documentation for this class was generated from the following file: