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 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 XFRM_OFFLOAD 29 depends on INET_ESP_OFFLOAD || INET6_ESP_OFFLOAD 30 help 31 Support Chelsio Inline IPsec with Chelsio crypto accelerator. 32 Enable inline IPsec support for Tx. 33 34 To compile this driver as a module, choose M here: the module 35 will be called ch_ipsec. 36 37config CHELSIO_TLS_DEVICE 38 tristate "Chelsio Inline KTLS Offload" 39 depends on CHELSIO_T4 40 depends on TLS 41 depends on TLS_DEVICE 42 help 43 This flag enables support for kernel tls offload over Chelsio T6 44 crypto accelerator. CONFIG_CHELSIO_TLS_DEVICE flag can be enabled 45 only if CONFIG_TLS and CONFIG_TLS_DEVICE flags are enabled. 46 47 To compile this driver as a module, choose M here: the module 48 will be called ch_ktls. 49 50endif # CHELSIO_INLINE_CRYPTO 51