Re: [PATCH] crypto: arm/chacha-neon - add missing counter increment

2020-12-12 Thread Eric Biggers
On Sat, Dec 12, 2020 at 09:32:43AM +0100, Ard Biesheuvel wrote: > Commit 86cd97ec4b943af3 ("crypto: arm/chacha-neon - optimize for non-block > size multiples") refactored the chacha block handling in the glue code in > a way that may result in the counter increment to be omitted when calling > chac

[PATCH] crypto: arm/chacha-neon - add missing counter increment

2020-12-12 Thread Ard Biesheuvel
Commit 86cd97ec4b943af3 ("crypto: arm/chacha-neon - optimize for non-block size multiples") refactored the chacha block handling in the glue code in a way that may result in the counter increment to be omitted when calling chacha_block_xor_neon() to process a full block. This violates the API, whic