[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEH5pPY98CaSm+EXiuOzo6EuWzGu7rEQjGa3eojk18HP29Rs7w@mail.gmail.com>
Date: Fri, 29 Aug 2025 15:08:56 +0200
From: Honza Fikar <j.fikar@...il.com>
To: Eric Biggers <ebiggers@...nel.org>
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
Ard Biesheuvel <ardb@...nel.org>, "Jason A . Donenfeld" <Jason@...c4.com>, x86@...nel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 09/12] lib/crypto: blake2s: Always enable arch-optimized
BLAKE2s code
On Fri, Aug 29, 2025 at 2:54 PM Eric Biggers <ebiggers@...nel.org> 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
Powered by blists - more mailing lists