big_key.c:undefined reference to `crypto_aead_setkey'

From: kbuild test robot
Date: Thu Oct 12 2017 - 11:12:55 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ff5abbe799e29099695cb8b5b2f198dd8b8bdf26
commit: 428490e38b2e352812e0b765d8bceafab0ec441d security/keys: rewrite all of big_key crypto
date: 2 weeks ago
config: x86_64-randconfig-it0-10121950 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
git checkout 428490e38b2e352812e0b765d8bceafab0ec441d
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

security/keys/big_key.o: In function `big_key_crypt':
>> big_key.c:(.text+0x154): undefined reference to `crypto_aead_setkey'
security/keys/big_key.o: In function `big_key_init':
>> big_key.c:(.init.text+0x1b): undefined reference to `crypto_alloc_aead'
>> big_key.c:(.init.text+0x7e): undefined reference to `crypto_aead_setauthsize'
>> big_key.c:(.init.text+0xf3): undefined reference to `crypto_destroy_tfm'
crypto/gcm.o: In function `gcm_enc_copy_hash':
>> gcm.c:(.text+0x1c7): undefined reference to `scatterwalk_map_and_copy'
crypto/gcm.o: In function `crypto_gcm_verify':
gcm.c:(.text+0x225): undefined reference to `scatterwalk_map_and_copy'
>> gcm.c:(.text+0x234): undefined reference to `__crypto_memneq'
crypto/gcm.o: In function `gcm_hash_crypt_remain_continue':
>> gcm.c:(.text+0x3a1): undefined reference to `crypto_ahash_finup'
crypto/gcm.o: In function `crypto_gcm_exit_tfm':
>> gcm.c:(.text+0x624): undefined reference to `crypto_destroy_tfm'
gcm.c:(.text+0x631): undefined reference to `crypto_destroy_tfm'
crypto/gcm.o: In function `crypto_rfc4106_exit_tfm':
gcm.c:(.text+0x64a): undefined reference to `crypto_destroy_tfm'
crypto/gcm.o: In function `crypto_gcm_init_tfm':
>> gcm.c:(.text+0x671): undefined reference to `crypto_spawn_tfm2'
gcm.c:(.text+0x6b9): undefined reference to `crypto_spawn_tfm2'
gcm.c:(.text+0x731): undefined reference to `crypto_destroy_tfm'
crypto/gcm.o: In function `crypto_rfc4106_init_tfm':
gcm.c:(.text+0x761): undefined reference to `crypto_spawn_tfm2'
crypto/gcm.o: In function `crypto_gcm_setkey':
>> gcm.c:(.text+0x97c): undefined reference to `crypto_ahash_setkey'
crypto/gcm.o: In function `crypto_gcm_init_common':
>> gcm.c:(.text+0xacc): undefined reference to `scatterwalk_ffwd'
gcm.c:(.text+0xbf3): undefined reference to `scatterwalk_ffwd'
crypto/gcm.o: In function `crypto_rfc4106_crypt':
gcm.c:(.text+0xcb5): undefined reference to `scatterwalk_map_and_copy'
gcm.c:(.text+0xd9c): undefined reference to `scatterwalk_ffwd'
gcm.c:(.text+0xed1): undefined reference to `scatterwalk_ffwd'
crypto/gcm.o: In function `crypto_gcm_free':
>> gcm.c:(.text+0x1063): undefined reference to `crypto_drop_spawn'
gcm.c:(.text+0x106f): undefined reference to `crypto_drop_spawn'
crypto/gcm.o: In function `crypto_rfc4106_free':
gcm.c:(.text+0x1093): undefined reference to `crypto_drop_spawn'
crypto/gcm.o: In function `crypto_rfc4543_free':
gcm.c:(.text+0x10b7): undefined reference to `crypto_drop_spawn'
crypto/gcm.o: In function `crypto_gcm_create_common':
>> gcm.c:(.text+0x10f0): undefined reference to `crypto_get_attr_type'
>> gcm.c:(.text+0x1178): undefined reference to `crypto_ahash_type'
>> gcm.c:(.text+0x1185): undefined reference to `crypto_find_alg'
>> gcm.c:(.text+0x1221): undefined reference to `crypto_init_ahash_spawn'
>> gcm.c:(.text+0x1292): undefined reference to `crypto_grab_skcipher'
>> gcm.c:(.text+0x14a5): undefined reference to `aead_register_instance'
>> gcm.c:(.text+0x14cb): undefined reference to `crypto_mod_put'
gcm.c:(.text+0x14e6): undefined reference to `crypto_drop_spawn'
gcm.c:(.text+0x14f7): undefined reference to `crypto_drop_spawn'
crypto/gcm.o: In function `crypto_gcm_base_create':
>> gcm.c:(.text+0x154b): undefined reference to `crypto_attr_alg_name'
gcm.c:(.text+0x158f): undefined reference to `crypto_attr_alg_name'
crypto/gcm.o: In function `crypto_gcm_create':
gcm.c:(.text+0x1680): undefined reference to `crypto_attr_alg_name'
crypto/gcm.o: In function `crypto_rfc4106_create':
gcm.c:(.text+0x179a): undefined reference to `crypto_get_attr_type'
gcm.c:(.text+0x1809): undefined reference to `crypto_attr_alg_name'

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip