Found 2 other functions taking a
sha256_result_t
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.
Get the checksum result Read the 32 byte result calculated by the hardware. Only valid if sha256_is_sum_valid is True