Example of SHA2-512 hashing using the CSSv2 (CLNS component mcuxClCss) More...
Functions | |
bool | hash_sha512_one_block (void) |
Performs SHA2-512 hashing using mcuxClCss functions. More... | |
Variables | |
static uint8_t const | sha512_padded_input [MCUXCLCSS_HASH_BLOCK_SIZE_SHA_512] |
Data input for SHA2-512 hashing. More... | |
static uint8_t | sha512_reference_digest [MCUXCLCSS_HASH_OUTPUT_SIZE_SHA_512] |
Expected hash value. More... | |
static uint8_t | sha2_512_digest [MCUXCLCSS_HASH_STATE_SIZE_SHA_512] |
Destination buffer to receive the hash output of the SHA2-512 hashing. More... | |
Example of SHA2-512 hashing using the CSSv2 (CLNS component mcuxClCss)
bool hash_sha512_one_block | ( | void | ) |
Performs SHA2-512 hashing using mcuxClCss functions.
true | The example code completed successfully |
false | The example code failed |
|
static |
Data input for SHA2-512 hashing.
|
static |
Expected hash value.
|
static |
Destination buffer to receive the hash output of the SHA2-512 hashing.