Kconfig 855 字节
Newer Older
1
# SPDX-License-Identifier: GPL-2.0-only
D
Dave Watson 已提交
2 3 4 5 6
#
# TLS configuration
#
config TLS
	tristate "Transport Layer Security support"
7
	depends on INET
D
Dave Watson 已提交
8 9 10
	select CRYPTO
	select CRYPTO_AES
	select CRYPTO_GCM
D
Dave Watson 已提交
11
	select STREAM_PARSER
12
	select NET_SOCK_MSG
D
Dave Watson 已提交
13
	default n
D
Dave Watson 已提交
14 15 16 17
	---help---
	Enable kernel support for TLS protocol. This allows symmetric
	encryption handling of the TLS protocol to be done in-kernel.

D
Dave Watson 已提交
18
	If unsure, say N.
19 20 21 22 23 24 25 26 27 28

config TLS_DEVICE
	bool "Transport Layer Security HW offload"
	depends on TLS
	select SOCK_VALIDATE_XMIT
	default n
	help
	Enable kernel support for HW offload of the TLS protocol.

	If unsure, say N.
29 30 31 32 33 34 35 36 37 38

config TLS_TOE
	bool "Transport Layer Security TCP stack bypass"
	depends on TLS
	default n
	help
	Enable kernel support for legacy HW offload of the TLS protocol,
	which is incompatible with the Linux networking stack semantics.

	If unsure, say N.