Thread (19 messages) 19 messages, 3 authors, 2025-09-06

Re: [PATCH 09/12] lib/crypto: blake2s: Always enable arch-optimized BLAKE2s code

From: Honza Fikar <hidden>
Date: 2025-08-29 13:09:09
Also in: linux-crypto, lkml

On Fri, Aug 29, 2025 at 2:54 PM Eric Biggers [off-list ref] wrote:
Currently, BLAKE2s support is always enabled ('obj-y'), since random.c
uses it.  Therefore, the arch-optimized BLAKE2s code, which exists for
ARM and x86_64, should be always enabled too.
Maybe a stupid question: what about ARM64? The current NEON
implementation in kernel arch/arm/crypto/blake2s-core.S seems to be just
for ARM.

While the upstream BLAKE2s with NEON is both for ARM and Aarch64 (ARM64):

https://github.com/BLAKE2/BLAKE2/blob/master/neon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help