xref: /linux/drivers/crypto/chelsio/Kconfig (revision 34aba2c45024a0899776c2146d4ab105912d728d)
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
1102038fd6SHariprasad Shenai	---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
326dad4e8aSAtul Gupta	---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
40bd7f4857SAtul Gupta	---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.
45*34aba2c4SRohit Maheshwari
46*34aba2c4SRohit Maheshwariconfig CHELSIO_TLS_DEVICE
47*34aba2c4SRohit Maheshwari	bool "Chelsio Inline KTLS Offload"
48*34aba2c4SRohit Maheshwari	depends on CHELSIO_T4
49*34aba2c4SRohit Maheshwari	depends on TLS_DEVICE
50*34aba2c4SRohit Maheshwari	select CRYPTO_DEV_CHELSIO
51*34aba2c4SRohit Maheshwari	default y
52*34aba2c4SRohit Maheshwari	help
53*34aba2c4SRohit Maheshwari	  This flag enables support for kernel tls offload over Chelsio T6
54*34aba2c4SRohit Maheshwari	  crypto accelerator. CONFIG_CHELSIO_TLS_DEVICE flag can be enabled
55*34aba2c4SRohit Maheshwari	  only if CONFIG_TLS and CONFIG_TLS_DEVICE flags are enabled.
56