crypto: qat - add CRYPTO_AES to Kconfig dependencies
authorMarco Chiappero <marco.chiappero@intel.com>
Tue, 22 Dec 2020 13:00:24 +0000 (13:00 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Dec 2020 07:45:23 +0000 (18:45 +1100)
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 <lkp@intel.com>
Signed-off-by: Marco Chiappero <marco.chiappero@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/Kconfig

index beb379b..846a3d9 100644 (file)
@@ -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