Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tls: update Kconfig

Missing crypto deps for some platforms.
Default to n for new module.

config: m68k-amcore_defconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0

make.cross ARCH=m68k
All errors (new ones prefixed by >>):

net/built-in.o: In function `tls_set_sw_offload':
>> (.text+0x732f8): undefined reference to `crypto_alloc_aead'
net/built-in.o: In function `tls_set_sw_offload':
>> (.text+0x7333c): undefined reference to `crypto_aead_setkey'
net/built-in.o: In function `tls_set_sw_offload':
>> (.text+0x73354): undefined reference to `crypto_aead_setauthsize'

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Dave Watson and committed by
David S. Miller
d807ec65 ffe95ecf

+5 -2
+5 -2
net/tls/Kconfig
··· 4 4 config TLS 5 5 tristate "Transport Layer Security support" 6 6 depends on INET 7 - default m 7 + select CRYPTO 8 + select CRYPTO_AES 9 + select CRYPTO_GCM 10 + default n 8 11 ---help--- 9 12 Enable kernel support for TLS protocol. This allows symmetric 10 13 encryption handling of the TLS protocol to be done in-kernel. 11 14 12 - If unsure, say M. 15 + If unsure, say N.