Fix incorrect SHA-3 computation with the streaming API (#14852)

* Fix SHA3 with streaming

Leftover bytes should be added to the buffer, not to the state.

(or, always to the state; we can and probably should eventually get
rid of the buffer)

Fixes #14851

* Add a test for SHA-3 with streaming
134e5748e0Frank Denis committed on 3/9/2023, 5:18:15 AM· committed by GitHubparent6d7fb8f
2 files changedLine totals unavailable