pico_sha256_update() function
Add byte data to be SHA-256 calculation Add byte data to be SHA-256 calculation You may call this as many times as required to add all the data needed. You must have called pico_sha256_try_start (or equivalent) already.
Arguments
state
A pointer to a pico_sha256_state_t instance
data
Pointer to the data to be added to the calculation
data_size_bytes
Amount of data to add
Notes
This function may return before the copy has completed in which case the data passed to the function must remain valid and unchanged until a further call to pico_sha256_update or pico_sha256_finish. If this is not done, corrupt data may be used for the SHA-256 calculation giving an unexpected result.