Re: [PATCH 00/13] Architecture-optimized SHA-256 library API
From: Linus Torvalds
Date: Sat Apr 26 2025 - 11:18:04 EST
On Fri, 25 Apr 2025 at 23:51, Eric Biggers <ebiggers@xxxxxxxxxx> wrote:
>
> Following the example of several other algorithms (e.g. CRC32, ChaCha,
> Poly1305, BLAKE2s), this series refactors the kernel's existing
> architecture-optimized SHA-256 code to be available via the library API,
> instead of just via the crypto_shash API as it was before. It also
> reimplements the SHA-256 crypto_shash API on top of the library API.
Well, this certainly looks a lot simpler, and avoids the duplicated
crypto glue setup for each architecture.
So this very much seems to be the RightThing(tm) to do.
Linus