* [linux-next:master 5413/9291] otx_cptvf_algs.c:undefined reference to `crypto_authenc_extractkeys'
@ 2024-09-04 12:22 kernel test robot
2024-09-05 2:21 ` [PATCH] crypto: octeontx* - Select CRYPTO_AUTHENC Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2024-09-04 12:22 UTC (permalink / raw)
To: Herbert Xu; +Cc: oe-kbuild-all, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: fdadd93817f124fd0ea6ef251d4a1068b7feceba
commit: 311eea7e37c4c0b44b557d0c100860a03b4eab65 [5413/9291] crypto: octeontx - Fix authenc setkey
config: s390-randconfig-c004-20220327 (https://download.01.org/0day-ci/archive/20240904/202409042013.gT2ZI4wR-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240904/202409042013.gT2ZI4wR-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409042013.gT2ZI4wR-lkp@intel.com/
All errors (new ones prefixed by >>):
s390-linux-ld: drivers/crypto/marvell/octeontx/otx_cptvf_algs.o: in function `otx_cpt_aead_cbc_aes_sha_setkey':
>> otx_cptvf_algs.c:(.text+0x1daa): undefined reference to `crypto_authenc_extractkeys'
s390-linux-ld: drivers/crypto/marvell/octeontx/otx_cptvf_algs.o: in function `otx_cpt_aead_ecb_null_sha_setkey':
otx_cptvf_algs.c:(.text+0x1e12): undefined reference to `crypto_authenc_extractkeys'
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] crypto: octeontx* - Select CRYPTO_AUTHENC
2024-09-04 12:22 [linux-next:master 5413/9291] otx_cptvf_algs.c:undefined reference to `crypto_authenc_extractkeys' kernel test robot
@ 2024-09-05 2:21 ` Herbert Xu
0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2024-09-05 2:21 UTC (permalink / raw)
To: kernel test robot
Cc: oe-kbuild-all, Linux Memory Management List,
Linux Crypto Mailing List
On Wed, Sep 04, 2024 at 08:22:57PM +0800, kernel test robot wrote:
>
> All errors (new ones prefixed by >>):
>
> s390-linux-ld: drivers/crypto/marvell/octeontx/otx_cptvf_algs.o: in function `otx_cpt_aead_cbc_aes_sha_setkey':
> >> otx_cptvf_algs.c:(.text+0x1daa): undefined reference to `crypto_authenc_extractkeys'
> s390-linux-ld: drivers/crypto/marvell/octeontx/otx_cptvf_algs.o: in function `otx_cpt_aead_ecb_null_sha_setkey':
> otx_cptvf_algs.c:(.text+0x1e12): undefined reference to `crypto_authenc_extractkeys'
---8<---
Select CRYPTO_AUTHENC as the function crypto_authenec_extractkeys
may not be available without it.
Fixes: 311eea7e37c4 ("crypto: octeontx - Fix authenc setkey")
Fixes: 7ccb750dcac8 ("crypto: octeontx2 - Fix authenc setkey")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409042013.gT2ZI4wR-lkp@intel.com/
diff --git a/drivers/crypto/marvell/Kconfig b/drivers/crypto/marvell/Kconfig
index a48591af12d0..78217577aa54 100644
--- a/drivers/crypto/marvell/Kconfig
+++ b/drivers/crypto/marvell/Kconfig
@@ -28,6 +28,7 @@ config CRYPTO_DEV_OCTEONTX_CPT
select CRYPTO_SKCIPHER
select CRYPTO_HASH
select CRYPTO_AEAD
+ select CRYPTO_AUTHENC
select CRYPTO_DEV_MARVELL
help
This driver allows you to utilize the Marvell Cryptographic
@@ -47,6 +48,7 @@ config CRYPTO_DEV_OCTEONTX2_CPT
select CRYPTO_SKCIPHER
select CRYPTO_HASH
select CRYPTO_AEAD
+ select CRYPTO_AUTHENC
select NET_DEVLINK
help
This driver allows you to utilize the Marvell Cryptographic
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-05 2:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-04 12:22 [linux-next:master 5413/9291] otx_cptvf_algs.c:undefined reference to `crypto_authenc_extractkeys' kernel test robot
2024-09-05 2:21 ` [PATCH] crypto: octeontx* - Select CRYPTO_AUTHENC Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).