xref: /linux/drivers/crypto/chelsio/Kconfig (revision a7f7f6248d9740d710fd6bd190293fe5e16410ac)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
202038fd6SHariprasad Shenaiconfig CRYPTO_DEV_CHELSIO
302038fd6SHariprasad Shenai	tristate "Chelsio Crypto Co-processor Driver"
402038fd6SHariprasad Shenai	depends on CHELSIO_T4
5571c47abSArd Biesheuvel	select CRYPTO_LIB_AES
602038fd6SHariprasad Shenai	select CRYPTO_SHA1
702038fd6SHariprasad Shenai	select CRYPTO_SHA256
802038fd6SHariprasad Shenai	select CRYPTO_SHA512
92debd332SHarsh Jain	select CRYPTO_AUTHENC
10d042566dSArnd Bergmann	select CRYPTO_GF128MUL
11*a7f7f624SMasahiro Yamada	help
1202038fd6SHariprasad Shenai	  The Chelsio Crypto Co-processor driver for T6 adapters.
1302038fd6SHariprasad Shenai
1402038fd6SHariprasad Shenai	  For general information about Chelsio and our products, visit
1502038fd6SHariprasad Shenai	  our website at <http://www.chelsio.com>.
1602038fd6SHariprasad Shenai
1702038fd6SHariprasad Shenai	  For customer support, please visit our customer support page at
1802038fd6SHariprasad Shenai	  <http://www.chelsio.com/support.html>.
1902038fd6SHariprasad Shenai
2002038fd6SHariprasad Shenai	  Please send feedback to <linux-bugs@chelsio.com>.
2102038fd6SHariprasad Shenai
2202038fd6SHariprasad Shenai	  To compile this driver as a module, choose M here: the module
2302038fd6SHariprasad Shenai	  will be called chcr.
246dad4e8aSAtul Gupta
256dad4e8aSAtul Guptaconfig CHELSIO_IPSEC_INLINE
266dad4e8aSAtul Gupta	bool "Chelsio IPSec XFRM Tx crypto offload"
276dad4e8aSAtul Gupta	depends on CHELSIO_T4
286dad4e8aSAtul Gupta	depends on CRYPTO_DEV_CHELSIO
296dad4e8aSAtul Gupta	depends on XFRM_OFFLOAD
306dad4e8aSAtul Gupta	depends on INET_ESP_OFFLOAD || INET6_ESP_OFFLOAD
316dad4e8aSAtul Gupta	default n
32*a7f7f624SMasahiro Yamada	help
336dad4e8aSAtul Gupta	  Enable support for IPSec Tx Inline.
34bd7f4857SAtul Gupta
35bd7f4857SAtul Guptaconfig CRYPTO_DEV_CHELSIO_TLS
36bd7f4857SAtul Gupta	tristate "Chelsio Crypto Inline TLS Driver"
37bd7f4857SAtul Gupta	depends on CHELSIO_T4
3853b4414aSJakub Kicinski	depends on TLS_TOE
39bd7f4857SAtul Gupta	select CRYPTO_DEV_CHELSIO
40*a7f7f624SMasahiro Yamada	help
41bd7f4857SAtul Gupta	  Support Chelsio Inline TLS with Chelsio crypto accelerator.
42bd7f4857SAtul Gupta
43bd7f4857SAtul Gupta	  To compile this driver as a module, choose M here: the module
44bd7f4857SAtul Gupta	  will be called chtls.
4534aba2c4SRohit Maheshwari
4634aba2c4SRohit Maheshwariconfig CHELSIO_TLS_DEVICE
4734aba2c4SRohit Maheshwari	bool "Chelsio Inline KTLS Offload"
4834aba2c4SRohit Maheshwari	depends on CHELSIO_T4
4934aba2c4SRohit Maheshwari	depends on TLS_DEVICE
5034aba2c4SRohit Maheshwari	select CRYPTO_DEV_CHELSIO
5134aba2c4SRohit Maheshwari	default y
5234aba2c4SRohit Maheshwari	help
5334aba2c4SRohit Maheshwari	  This flag enables support for kernel tls offload over Chelsio T6
5434aba2c4SRohit Maheshwari	  crypto accelerator. CONFIG_CHELSIO_TLS_DEVICE flag can be enabled
5534aba2c4SRohit Maheshwari	  only if CONFIG_TLS and CONFIG_TLS_DEVICE flags are enabled.
56