Skip to contentSkip to conversation

otx_cptvf_algs.c:undefined reference to `crypto_authenc_extractkeys'

PATCH New kernel test robot 2 participants 2 messages Sep 4, 2024 – Sep 5, 2024

Subsystems (3)
lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
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/[email protected]/config)
compiler: s390-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240904/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

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'

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
maintainer
#1 lore raw

PATCH 1/1 crypto: octeontx* - Select CRYPTO_AUTHENC

Quoted 7 lines · kernel test robot

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':

Quoted 1 line
Quoted 1 line

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")
drivers/crypto/marvell/Kconfig +2 -0
index a48591af12d0..78217577aa54 100644
@@ -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
Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt