Re: [PATCH crypto v2] crypto: blake2s - remove shash module

From: Eric Biggers
Date: Sat May 28 2022 - 13:19:46 EST


On Sat, May 28, 2022 at 11:57:01AM +0200, Jason A. Donenfeld wrote:
> > Also, the wrong value is being passed for the 'inc' argument.
>
> Are you sure? Not sure I'm seeing what you are on first glance.

Yes, 'inc' is the increment amount per block. It needs to always be
BLAKE2S_BLOCK_SIZE unless a partial block is being processed.

- Eric