crypto: cavium/cpt - select the skcipher API
Subsystems (2)
PATCH 1/1 crypto: cavium/cpt - select the skcipher API
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 <[email protected]>
---
AI assistance: gpt 5 (patch preparation and review).
drivers/crypto/cavium/cpt/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/crypto/cavium/cpt/Kconfig +1 -0
@@ -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