xref: /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/inline_crypto/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Chelsio inline crypto configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig CHELSIO_INLINE_CRYPTO
7*4882a593Smuzhiyun	bool "Chelsio Inline Crypto support"
8*4882a593Smuzhiyun	depends on CHELSIO_T4
9*4882a593Smuzhiyun	default y
10*4882a593Smuzhiyun	help
11*4882a593Smuzhiyun	  Enable support for inline crypto.
12*4882a593Smuzhiyun	  Allows enable/disable from list of inline crypto drivers.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunif CHELSIO_INLINE_CRYPTO
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunconfig CRYPTO_DEV_CHELSIO_TLS
17*4882a593Smuzhiyun	tristate "Chelsio Crypto Inline TLS Driver"
18*4882a593Smuzhiyun	depends on CHELSIO_T4
19*4882a593Smuzhiyun	depends on TLS
20*4882a593Smuzhiyun	depends on TLS_TOE
21*4882a593Smuzhiyun	help
22*4882a593Smuzhiyun	  Support Chelsio Inline TLS with Chelsio crypto accelerator.
23*4882a593Smuzhiyun	  Enable inline TLS support for Tx and Rx.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the module
26*4882a593Smuzhiyun	  will be called chtls.
27*4882a593Smuzhiyun
28*4882a593Smuzhiyunconfig CHELSIO_IPSEC_INLINE
29*4882a593Smuzhiyun       tristate "Chelsio IPSec XFRM Tx crypto offload"
30*4882a593Smuzhiyun       depends on CHELSIO_T4
31*4882a593Smuzhiyun       depends on XFRM_OFFLOAD
32*4882a593Smuzhiyun       depends on INET_ESP_OFFLOAD || INET6_ESP_OFFLOAD
33*4882a593Smuzhiyun       help
34*4882a593Smuzhiyun        Support Chelsio Inline IPsec with Chelsio crypto accelerator.
35*4882a593Smuzhiyun        Enable inline IPsec support for Tx.
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun        To compile this driver as a module, choose M here: the module
38*4882a593Smuzhiyun        will be called ch_ipsec.
39*4882a593Smuzhiyun
40*4882a593Smuzhiyunconfig CHELSIO_TLS_DEVICE
41*4882a593Smuzhiyun        tristate "Chelsio Inline KTLS Offload"
42*4882a593Smuzhiyun        depends on CHELSIO_T4
43*4882a593Smuzhiyun        depends on TLS
44*4882a593Smuzhiyun        depends on TLS_DEVICE
45*4882a593Smuzhiyun	select CRYPTO_LIB_AES
46*4882a593Smuzhiyun        help
47*4882a593Smuzhiyun          This flag enables support for kernel tls offload over Chelsio T6
48*4882a593Smuzhiyun          crypto accelerator. CONFIG_CHELSIO_TLS_DEVICE flag can be enabled
49*4882a593Smuzhiyun          only if CONFIG_TLS and CONFIG_TLS_DEVICE flags are enabled.
50*4882a593Smuzhiyun
51*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the module
52*4882a593Smuzhiyun	  will be called ch_ktls.
53*4882a593Smuzhiyun
54*4882a593Smuzhiyunendif # CHELSIO_INLINE_CRYPTO
55