From: Pengpeng Hou <hppiscas@163.com>
To: herbert@gondor.apana.org.au
Cc: davem@davemloft.net, tglx@kernel.org, mingo@redhat.com,
bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org,
hpa@zytor.com, linux-crypto@vger.kernel.org,
linux-kernel@vger.kernel.org, ebiggers@kernel.org,
hppiscas@163.com
Subject: [PATCH] crypto: x86/aegis128 - select the skcipher API
Date: Mon, 30 Nov 2026 20:31:39 +0800 [thread overview]
Message-ID: <20261130123139.71764-1-hppiscas@163.com> (raw)
The AES-NI AEGIS-128 implementation calls the skcipher_walk_aead_*()
helpers and skcipher_walk_done(). Selecting CRYPTO_AEAD does not
ensure that the skcipher implementation is built at the linkage
level required by the AEGIS driver.
Select CRYPTO_SKCIPHER so built-in AES-NI AEGIS-128 does not
reference a modular skcipher implementation.
The issue was found by our static-analysis tool and manually reviewed.
Fixes: 3a7dfdbbe333 ("crypto: x86/aegis - stop using the SIMD helper")
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
---
AI assistance: gpt 5 (patch preparation and review).
arch/x86/crypto/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/crypto/Kconfig b/arch/x86/crypto/Kconfig
index 20f5e2a..39384fa 100644
--- a/arch/x86/crypto/Kconfig
+++ b/arch/x86/crypto/Kconfig
@@ -318,6 +318,7 @@ config CRYPTO_AEGIS128_AESNI_SSE2
tristate "AEAD ciphers: AEGIS-128 (AES-NI/SSE4.1)"
depends on 64BIT
select CRYPTO_AEAD
+ select CRYPTO_SKCIPHER
help
AEGIS-128 AEAD algorithm
base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244
reply other threads:[~2026-11-30 12:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20261130123139.71764-1-hppiscas@163.com \
--to=hppiscas@163.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=davem@davemloft.net \
--cc=ebiggers@kernel.org \
--cc=herbert@gondor.apana.org.au \
--cc=hpa@zytor.com \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@kernel.org \
--cc=x86@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®