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