]> Gentwo Git Trees - linux/.git/commit
crypto: x86/curve25519 - Remove unused kpp support
authorEric Biggers <ebiggers@kernel.org>
Sat, 6 Sep 2025 21:35:15 +0000 (14:35 -0700)
committerEric Biggers <ebiggers@kernel.org>
Sat, 6 Sep 2025 21:45:49 +0000 (14:45 -0700)
commitde3ea8e1c55774a2ef116942984815257cbb01a3
tree5958d7d2458cdffbbe26bdb77f99af62343e2375
parent8c44847e2e56a412040c0c70c44d57f6eafc67b3
crypto: x86/curve25519 - Remove unused kpp support

Curve25519 is used only via the library API, not the crypto_kpp API.  In
preparation for removing the unused crypto_kpp API for Curve25519,
remove the unused "curve25519-x86" kpp algorithm.

Note that the underlying x86_64 optimized Curve25519 code remains fully
supported and accessible via the library API.

It's also worth noting that even if the kpp support for Curve25519 comes
back later, there is no need for arch-specific kpp glue code like this,
as a single kpp algorithm that wraps the library API is sufficient.

Link: https://lore.kernel.org/r/20250906213523.84915-5-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
arch/x86/crypto/Kconfig
arch/x86/crypto/curve25519-x86_64.c