Example of SHA2-224 hashing using the ELS (CLNS component mcuxClEls) More...
#include <mcuxClEls.h>#include <mcuxCsslFlowProtection.h>#include <mcuxClCore_FunctionIdentifiers.h>#include <mcuxClCore_Examples.h>#include <mcuxClExample_ELS_Helper.h>Functions | |
| MCUXCLEXAMPLE_FUNCTION (mcuxClEls_Hash_Sha224_One_Block_example) | |
| Performs SHA2-224 hashing using mcuxClEls functions. More... | |
Variables | |
| static uint8_t const | sha224_padded_input [MCUXCLELS_HASH_BLOCK_SIZE_SHA_224] |
| Data input for SHA2-224 hashing. More... | |
| static uint8_t | sha224_reference_digest [MCUXCLELS_HASH_OUTPUT_SIZE_SHA_224] |
| Expected hash value. More... | |
| static uint8_t | sha2_224_digest [MCUXCLELS_HASH_STATE_SIZE_SHA_224] |
| Destination buffer to receive the hash output of the SHA2-224 hashing. More... | |
Example of SHA2-224 hashing using the ELS (CLNS component mcuxClEls)
| MCUXCLEXAMPLE_FUNCTION | ( | mcuxClEls_Hash_Sha224_One_Block_example | ) |
Performs SHA2-224 hashing using mcuxClEls functions.
| MCUXCLEXAMPLE_OK | The example code completed successfully |
| MCUXCLEXAMPLE_ERROR | The example code failed |
Initialize ELS, Enable the ELS
Disable the ELS
|
static |
Data input for SHA2-224 hashing.
|
static |
Expected hash value.
|
static |
Destination buffer to receive the hash output of the SHA2-224 hashing.