Found 16 other functions taking a
pico_sha256_state
argument:
Finish the SHA-256 calculation and return the result Ends the SHA-256 calculation freeing the hardware for use by another caller. You must have called pico_sha256_try_start already.
Start a SHA-256 calculation, blocking forever waiting until the SHA-256 hardware is available Initialises the hardware and state ready to start a new SHA-256 calculation. Only one instance can be started at any time.
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 already.
Start a SHA-256 calculation returning immediately with an error if the SHA-256 hardware is not available Initialises the hardware and state ready to start a new SHA-256 calculation. Only one instance can be started at any time.
Start a SHA-256 calculation waiting for a defined period for the SHA-256 hardware to be available Initialises the hardware and state ready to start a new SHA-256 calculation. Only one instance can be started at any time.
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.