From: "Ard Biesheuvel" <ardb@kernel.org>
To: "Eric Biggers" <ebiggers@kernel.org>, linux-crypto@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
"Jason A . Donenfeld" <Jason@zx2c4.com>,
"Herbert Xu" <herbert@gondor.apana.org.au>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] lib/crypto: arm64: Assume a little-endian kernel
Date: Wed, 01 Apr 2026 09:31:28 +0200 [thread overview]
Message-ID: <dd3a1dbb-4426-49e4-899c-a9377ec0939d@app.fastmail.com> (raw)
In-Reply-To: <20260401003331.144065-1-ebiggers@kernel.org>
On Wed, 1 Apr 2026, at 02:33, Eric Biggers wrote:
> Since support for big-endian arm64 kernels was removed, the CPU_LE()
> macro now unconditionally emits the code it is passed, and the CPU_BE()
> macro now unconditionally discards the code it is passed.
>
> Simplify the assembly code in lib/crypto/arm64/ accordingly.
>
> Signed-off-by: Eric Biggers <ebiggers@kernel.org>
> ---
>
> This patch is targeting libcrypto-next
>
> lib/crypto/arm64/aes-cipher-core.S | 10 -------
> lib/crypto/arm64/chacha-neon-core.S | 16 -----------
> lib/crypto/arm64/ghash-neon-core.S | 2 +-
> lib/crypto/arm64/sha1-ce-core.S | 8 +++---
> lib/crypto/arm64/sha256-ce.S | 41 +++++++++++++----------------
> lib/crypto/arm64/sha512-ce-core.S | 16 +++++------
> lib/crypto/arm64/sm3-ce-core.S | 8 +++---
> 7 files changed, 36 insertions(+), 65 deletions(-)
>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
next prev parent reply other threads:[~2026-04-01 7:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-01 0:33 Eric Biggers
2026-04-01 7:31 ` Ard Biesheuvel [this message]
2026-04-02 23:12 ` Eric Biggers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dd3a1dbb-4426-49e4-899c-a9377ec0939d@app.fastmail.com \
--to=ardb@kernel.org \
--cc=Jason@zx2c4.com \
--cc=ebiggers@kernel.org \
--cc=herbert@gondor.apana.org.au \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®