[hare-scsi-devel:auth-dh 25/29] auth.c:undefined reference to `crypto_dh_key_len'

From: kernel test robot
Date: Sat Dec 11 2021 - 06:11:41 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git auth-dh
head: d0e23c18f321001215bc2eff13edcbbc4d1ce601
commit: ae9949f36ed1e27a1dae07c0022a5c89baef1d89 [25/29] nvme-auth: Diffie-Hellman key exchange support
config: s390-randconfig-r025-20211211 (https://download.01.org/0day-ci/archive/20211211/202112111917.4CtkYXOJ-lkp@xxxxxxxxx/config)
compiler: s390-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git/commit/?id=ae9949f36ed1e27a1dae07c0022a5c89baef1d89
git remote add hare-scsi-devel https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git
git fetch --no-tags hare-scsi-devel auth-dh
git checkout ae9949f36ed1e27a1dae07c0022a5c89baef1d89
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

s390-linux-ld: drivers/nvme/host/auth.o: in function `nvme_auth_gen_privkey':
>> auth.c:(.text+0x5fea): undefined reference to `crypto_dh_key_len'
>> s390-linux-ld: auth.c:(.text+0x6024): undefined reference to `crypto_dh_encode_key'

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for CRYPTO_DH_GROUPS_RFC7919
Depends on CRYPTO && CRYPTO_DH
Selected by
- NVME_AUTH && NVME_CORE

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx