summaryrefslogtreecommitdiff
path: root/net/tls
diff options
context:
space:
mode:
authorDave Watson <davejwatson@fb.com>2017-06-17 08:25:13 -0700
committerDavid S. Miller <davem@davemloft.net>2017-06-17 22:56:46 -0400
commitd807ec656f868c1800e38cefa98be3ec680f6a1f (patch)
treedf5ef92cc0876f53d4521d382a99e2ce7202c756 /net/tls
parentffe95ecf3a2e060cc95ad8835a71273a4a3b3923 (diff)
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>
Diffstat (limited to 'net/tls')
-rw-r--r--net/tls/Kconfig7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/tls/Kconfig b/net/tls/Kconfig
index b13541f571d4..eb583038c67e 100644
--- a/net/tls/Kconfig
+++ b/net/tls/Kconfig
@@ -4,9 +4,12 @@
config TLS
tristate "Transport Layer Security support"
depends on INET
- default m
+ select CRYPTO
+ select CRYPTO_AES
+ select CRYPTO_GCM
+ default n
---help---
Enable kernel support for TLS protocol. This allows symmetric
encryption handling of the TLS protocol to be done in-kernel.
- If unsure, say M.
+ If unsure, say N.