xref: /openbmc/linux/drivers/crypto/chelsio/Kconfig (revision 55fd7e02)
1# SPDX-License-Identifier: GPL-2.0-only
2config CRYPTO_DEV_CHELSIO
3	tristate "Chelsio Crypto Co-processor Driver"
4	depends on CHELSIO_T4
5	select CRYPTO_LIB_AES
6	select CRYPTO_SHA1
7	select CRYPTO_SHA256
8	select CRYPTO_SHA512
9	select CRYPTO_AUTHENC
10	select CRYPTO_GF128MUL
11	help
12	  The Chelsio Crypto Co-processor driver for T6 adapters.
13
14	  For general information about Chelsio and our products, visit
15	  our website at <http://www.chelsio.com>.
16
17	  For customer support, please visit our customer support page at
18	  <http://www.chelsio.com/support.html>.
19
20	  Please send feedback to <linux-bugs@chelsio.com>.
21
22	  To compile this driver as a module, choose M here: the module
23	  will be called chcr.
24
25config CHELSIO_IPSEC_INLINE
26	bool "Chelsio IPSec XFRM Tx crypto offload"
27	depends on CHELSIO_T4
28	depends on CRYPTO_DEV_CHELSIO
29	depends on XFRM_OFFLOAD
30	depends on INET_ESP_OFFLOAD || INET6_ESP_OFFLOAD
31	default n
32	help
33	  Enable support for IPSec Tx Inline.
34
35config CRYPTO_DEV_CHELSIO_TLS
36	tristate "Chelsio Crypto Inline TLS Driver"
37	depends on CHELSIO_T4
38	depends on TLS_TOE
39	select CRYPTO_DEV_CHELSIO
40	help
41	  Support Chelsio Inline TLS with Chelsio crypto accelerator.
42
43	  To compile this driver as a module, choose M here: the module
44	  will be called chtls.
45
46config CHELSIO_TLS_DEVICE
47	bool "Chelsio Inline KTLS Offload"
48	depends on CHELSIO_T4
49	depends on TLS_DEVICE
50	select CRYPTO_DEV_CHELSIO
51	default y
52	help
53	  This flag enables support for kernel tls offload over Chelsio T6
54	  crypto accelerator. CONFIG_CHELSIO_TLS_DEVICE flag can be enabled
55	  only if CONFIG_TLS and CONFIG_TLS_DEVICE flags are enabled.
56