Example of SHA2-256 hashing using the CSSv2 (CLNS component mcuxClCss) More...
Functions | |
bool | hash_sha256_one_block (void) |
Performs SHA2-256 hashing using mcuxClCss functions. More... | |
Variables | |
static uint8_t const | sha256_padded_input [MCUXCLCSS_HASH_BLOCK_SIZE_SHA_256] |
Data input for SHA2-256 hashing. More... | |
static uint8_t | sha256_reference_digest [MCUXCLCSS_HASH_OUTPUT_SIZE_SHA_256] |
Expected hash value. More... | |
static uint8_t | sha2_256_digest [MCUXCLCSS_HASH_STATE_SIZE_SHA_256] |
Destination buffer to receive the hash output of the SHA2-256 hashing. More... | |
Example of SHA2-256 hashing using the CSSv2 (CLNS component mcuxClCss)
bool hash_sha256_one_block | ( | void | ) |
Performs SHA2-256 hashing using mcuxClCss functions.
true | The example code completed successfully |
false | The example code failed |
|
static |
Data input for SHA2-256 hashing.
|
static |
Expected hash value.
|
static |
Destination buffer to receive the hash output of the SHA2-256 hashing.