Skip to content

Commit

Permalink
crypto: qat - add CRYPTO_AES to Kconfig dependencies
Browse files Browse the repository at this point in the history
This patch includes a missing dependency (CRYPTO_AES) which may
lead to an "undefined reference to `aes_expandkey'" linking error.

Fixes: 5106dfe ("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>
  • Loading branch information
Marco Chiappero authored and Herbert Xu committed Dec 23, 2020
1 parent 167316a commit c0e583a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/crypto/qat/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c0e583a

Please sign in to comment.