Given some state of a partially computed sha256 hash and remaining preimage, complete the hash
@notice used for traditional partial hashing
@param N - the maximum length of the message to hash
@param h - the intermediate hash state
@param msg - the remaining preimage to hash
@param message_size - the size of the current chunk
@param real_message_size - the total size of the original preimage
@return finalized sha256 hash
Given some state of a partially computed sha256 hash and remaining preimage, complete the hash @notice used for traditional partial hashing
@param N - the maximum length of the message to hash @param h - the intermediate hash state @param msg - the remaining preimage to hash @param message_size - the size of the current chunk @param real_message_size - the total size of the original preimage @return finalized sha256 hash