4.20.2.2 SHA256_Calculate()

void SHA256_Calculate (uint8_t * result)

This routine finishes calculating a SHA-256 hash. It will automatically add the padding required by the hashing algorithm and return the hash digest.

Parameters:
result

- A buffer to store the calculated hash digest. 32 bytes for SHA-256, 28 bytes for SHA-224.

Returns:

none