This patch includes a missing dependency (CRYPTO_AES) which may
lead to an "undefined reference to `aes_expandkey'" linking error.

Fixes: 5106dfeaeabe ("crypto: qat - add AES-XTS support for QAT GEN4 devices")
Reported-by: kernel test robot <l...@intel.com>
Signed-off-by: Marco Chiappero <marco.chiapp...@intel.com>
---
 drivers/crypto/qat/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/crypto/qat/Kconfig b/drivers/crypto/qat/Kconfig
index beb379b23dc3..846a3d90b41a 100644
--- a/drivers/crypto/qat/Kconfig
+++ b/drivers/crypto/qat/Kconfig
@@ -11,6 +11,7 @@ config CRYPTO_DEV_QAT
        select CRYPTO_SHA1
        select CRYPTO_SHA256
        select CRYPTO_SHA512
+       select CRYPTO_AES
        select FW_LOADER
 
 config CRYPTO_DEV_QAT_DH895xCC
-- 
2.26.2

Reply via email to