* [PATCH] crypto: cavium/cpt - select the skcipher API
@ 2026-11-30 12:33 Pengpeng Hou
0 siblings, 0 replies; only message in thread
From: Pengpeng Hou @ 2026-11-30 12:33 UTC (permalink / raw)
To: gcherian; +Cc: herbert, davem, linux-crypto, linux-kernel, hppiscas
The CPT virtual-function driver registers skcipher algorithms with
crypto_register_skciphers(), but CAVIUM_CPT does not select the
skcipher API. A built-in CPT driver can consequently reference a
modular skcipher provider and fail to link.
Select CRYPTO_SKCIPHER from the driver that registers those
algorithms.
The issue was found by our static-analysis tool and manually reviewed.
Fixes: ac0d3d130f90 ("crypto: cavium/cpt - switch to skcipher API")
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
---
AI assistance: gpt 5 (patch preparation and review).
drivers/crypto/cavium/cpt/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/crypto/cavium/cpt/Kconfig b/drivers/crypto/cavium/cpt/Kconfig
index b987405..5add6bc 100644
--- a/drivers/crypto/cavium/cpt/Kconfig
+++ b/drivers/crypto/cavium/cpt/Kconfig
@@ -11,6 +11,7 @@ config CAVIUM_CPT
depends on ARCH_THUNDER || COMPILE_TEST
depends on PCI_MSI && 64BIT
select CRYPTO_DEV_CPT
+ select CRYPTO_SKCIPHER
help
Support for Cavium CPT block found in octeon-tx series of
processors.
base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-30 12:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 12:33 [PATCH] crypto: cavium/cpt - select the skcipher API Pengpeng Hou
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®