Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
3c4d7559 DW |
2 | # |
3 | # TLS configuration | |
4 | # | |
5 | config TLS | |
6 | tristate "Transport Layer Security support" | |
54144b48 | 7 | depends on INET |
d807ec65 DW |
8 | select CRYPTO |
9 | select CRYPTO_AES | |
10 | select CRYPTO_GCM | |
c46234eb | 11 | select STREAM_PARSER |
d829e9c4 | 12 | select NET_SOCK_MSG |
d807ec65 | 13 | default n |
a7f7f624 | 14 | help |
3c4d7559 DW |
15 | Enable kernel support for TLS protocol. This allows symmetric |
16 | encryption handling of the TLS protocol to be done in-kernel. | |
17 | ||
d807ec65 | 18 | If unsure, say N. |
e8f69799 IL |
19 | |
20 | config TLS_DEVICE | |
21 | bool "Transport Layer Security HW offload" | |
22 | depends on TLS | |
23 | select SOCK_VALIDATE_XMIT | |
76f16593 | 24 | select SOCK_RX_QUEUE_MAPPING |
e8f69799 IL |
25 | default n |
26 | help | |
27 | Enable kernel support for HW offload of the TLS protocol. | |
28 | ||
29 | If unsure, say N. | |
53b4414a JK |
30 | |
31 | config TLS_TOE | |
32 | bool "Transport Layer Security TCP stack bypass" | |
33 | depends on TLS | |
34 | default n | |
35 | help | |
36 | Enable kernel support for legacy HW offload of the TLS protocol, | |
37 | which is incompatible with the Linux networking stack semantics. | |
38 | ||
39 | If unsure, say N. |