[PATCH] crypto: lib/Kconfig - fix chacha/poly1305 dependencies more more
Will Deacon
will at kernel.org
Tue Feb 25 13:33:46 PST 2025
On Tue, Feb 25, 2025 at 05:42:07PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
>
> A recent change tries to fix Kconfig dependencies, but introduced
> two problems in the process:
>
> - only arm, powerpc and x86 are changed, while mips, arm64 and s390
> are now broken
>
> - there are now configurations where the architecture enables its
> own helper functions as loadable modules, but they remain silently
> unused because CRYPTO_LIB_* falls back to the generic helpers
>
> Address both by changing the logic again: the architecture functions
> select CRYPTO_ARCH_MAY_HAVE_LIB_CHACHA, which may be a loadable
> module or built-in, and this controls whether the library is
> also built-in.
>
> Fixes: 04f9ccc955c7 ("crypto: lib/Kconfig - Fix lib built-in failure when arch is modular")
Which tree contains this change? I can't seem to resolve the SHA locally.
Will
More information about the linux-arm-kernel
mailing list