xref: /linux/drivers/net/ethernet/chelsio/inline_crypto/Kconfig (revision e3b9626f09d429788d929c9b9000a069fcfc056e)
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	default y
9	help
10	  Enable support for inline crypto.
11	  Allows enable/disable from list of inline crypto drivers.
12
13if CHELSIO_INLINE_CRYPTO
14
15config CRYPTO_DEV_CHELSIO_TLS
16	tristate "Chelsio Crypto Inline TLS Driver"
17	depends on CHELSIO_T4
18	depends on TLS_TOE
19	help
20	  Support Chelsio Inline TLS with Chelsio crypto accelerator.
21	  Enable inline TLS support for Tx and Rx.
22
23	  To compile this driver as a module, choose M here: the module
24	  will be called chtls.
25
26config CHELSIO_IPSEC_INLINE
27       tristate "Chelsio IPSec XFRM Tx crypto offload"
28       depends on CHELSIO_T4
29       depends on XFRM_OFFLOAD
30       depends on INET_ESP_OFFLOAD || INET6_ESP_OFFLOAD
31       help
32        Support Chelsio Inline IPsec with Chelsio crypto accelerator.
33        Enable inline IPsec support for Tx.
34
35        To compile this driver as a module, choose M here: the module
36        will be called ch_ipsec.
37
38endif # CHELSIO_INLINE_CRYPTO
39