hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/net/tls/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # TLS configuration
34 #
....@@ -8,8 +9,9 @@
89 select CRYPTO_AES
910 select CRYPTO_GCM
1011 select STREAM_PARSER
12
+ select NET_SOCK_MSG
1113 default n
12
- ---help---
14
+ help
1315 Enable kernel support for TLS protocol. This allows symmetric
1416 encryption handling of the TLS protocol to be done in-kernel.
1517
....@@ -24,3 +26,13 @@
2426 Enable kernel support for HW offload of the TLS protocol.
2527
2628 If unsure, say N.
29
+
30
+config TLS_TOE
31
+ bool "Transport Layer Security TCP stack bypass"
32
+ depends on TLS
33
+ default n
34
+ help
35
+ Enable kernel support for legacy HW offload of the TLS protocol,
36
+ which is incompatible with the Linux networking stack semantics.
37
+
38
+ If unsure, say N.