Re: [PATCH 0/2] lib/crypto: x86/chacha: Add 16-block AVX-512 implementation
From: Eric Biggers
Date: Mon Oct 26 2026 - 14:40:51 EST
On Mon, Oct 26, 2026 at 01:46:19AM +0100, Antonio Quartulli wrote:
> Patch 1 (KUnit tests and benchmark for chacha_crypt()) is independent
> of the AVX-512 code: it compares chacha_crypt() against
> chacha_block_generic() for every length up to 4100 bytes and random
> ones up to 12 KiB, with guard pages, in-place and split calls, plus the
> RFC 7539 vector.
>
> @Eric, would you consider it on its own? It would cover Martin's series
> as well. I can resend it standalone if that's easier.
I'm interested in the KUnit test, and I'll review patch 1 when I have a
chance. No need to resend it yet.
- Eric