Re: [PATCH v2 00/18] crypto: Provide clmul.h and host accel

2023-08-21 Thread Ard Biesheuvel
On Mon, 21 Aug 2023 at 17:15, Richard Henderson wrote: > > On 8/21/23 07:57, Ard Biesheuvel wrote: > >> Richard Henderson (18): > >>crypto: Add generic 8-bit carry-less multiply routines > >>target/arm: Use clmul_8* routines > >>target/s390x: Use clmul_8* routines > >>target/ppc: U

Re: [PATCH v2 00/18] crypto: Provide clmul.h and host accel

2023-08-21 Thread Richard Henderson
On 8/21/23 07:57, Ard Biesheuvel wrote: Richard Henderson (18): crypto: Add generic 8-bit carry-less multiply routines target/arm: Use clmul_8* routines target/s390x: Use clmul_8* routines target/ppc: Use clmul_8* routines crypto: Add generic 16-bit carry-less multiply routines

Re: [PATCH v2 00/18] crypto: Provide clmul.h and host accel

2023-08-21 Thread Ard Biesheuvel
On Sat, 19 Aug 2023 at 03:02, Richard Henderson wrote: > > Inspired by Ard Biesheuvel's RFC patches [1] for accelerating > carry-less multiply under emulation. > > Changes for v2: > * Only accelerate clmul_64; keep generic helpers for other sizes. > * Drop most of the Int128 interfaces, except

[PATCH v2 00/18] crypto: Provide clmul.h and host accel

2023-08-18 Thread Richard Henderson
Inspired by Ard Biesheuvel's RFC patches [1] for accelerating carry-less multiply under emulation. Changes for v2: * Only accelerate clmul_64; keep generic helpers for other sizes. * Drop most of the Int128 interfaces, except for clmul_64. * Use the same acceleration format as aes-round.h.