* [PATCH net-next] tls: update Kconfig
@ 2017-06-17 15:25 Dave Watson
2017-06-18 2:57 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Dave Watson @ 2017-06-17 15:25 UTC (permalink / raw)
To: David Miller, netdev, kbuild-all, Boris Pismenny, Ilya Lesokhin,
Aviad Yehezkel
Cc: Stephen Hemminger
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>
---
net/tls/Kconfig | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/net/tls/Kconfig b/net/tls/Kconfig
index b13541f..eb58303 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.
--
2.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] tls: update Kconfig
2017-06-17 15:25 [PATCH net-next] tls: update Kconfig Dave Watson
@ 2017-06-18 2:57 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-06-18 2:57 UTC (permalink / raw)
To: davejwatson; +Cc: netdev, kbuild-all, borisp, ilyal, aviadye, stephen
From: Dave Watson <davejwatson@fb.com>
Date: Sat, 17 Jun 2017 08:25:13 -0700
> 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>
Applied, thanks Dave.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-18 2:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-17 15:25 [PATCH net-next] tls: update Kconfig Dave Watson
2017-06-18 2:57 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).