xref: /linux/drivers/net/ethernet/chelsio/inline_crypto/Kconfig (revision d0034a7a4ac7fae708146ac0059b9c47a1543f0d)
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 CRYPTO_DEV_CHELSIO_TLS
17	tristate "Chelsio Crypto Inline TLS Driver"
18	depends on CHELSIO_T4
19	depends on TLS
20	depends on TLS_TOE
21	help
22	  Support Chelsio Inline TLS with Chelsio crypto accelerator.
23	  Enable inline TLS support for Tx and Rx.
24
25	  To compile this driver as a module, choose M here: the module
26	  will be called chtls.
27
28config CHELSIO_IPSEC_INLINE
29       tristate "Chelsio IPSec XFRM Tx crypto offload"
30       depends on CHELSIO_T4
31       depends on XFRM_OFFLOAD
32       depends on INET_ESP_OFFLOAD || INET6_ESP_OFFLOAD
33       help
34        Support Chelsio Inline IPsec with Chelsio crypto accelerator.
35        Enable inline IPsec support for Tx.
36
37        To compile this driver as a module, choose M here: the module
38        will be called ch_ipsec.
39
40config CHELSIO_TLS_DEVICE
41        tristate "Chelsio Inline KTLS Offload"
42        depends on CHELSIO_T4
43        depends on TLS
44        depends on TLS_DEVICE
45	select CRYPTO_LIB_AES
46        help
47          This flag enables support for kernel tls offload over Chelsio T6
48          crypto accelerator. CONFIG_CHELSIO_TLS_DEVICE flag can be enabled
49          only if CONFIG_TLS and CONFIG_TLS_DEVICE flags are enabled.
50
51	  To compile this driver as a module, choose M here: the module
52	  will be called ch_ktls.
53
54endif # CHELSIO_INLINE_CRYPTO
55