xref: /openbmc/linux/drivers/crypto/chelsio/Kconfig (revision 44fd1c1f)
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 CHELSIO_TLS_DEVICE
36	bool "Chelsio Inline KTLS Offload"
37	depends on CHELSIO_T4
38	depends on TLS_DEVICE
39	select CRYPTO_DEV_CHELSIO
40	default y
41	help
42	  This flag enables support for kernel tls offload over Chelsio T6
43	  crypto accelerator. CONFIG_CHELSIO_TLS_DEVICE flag can be enabled
44	  only if CONFIG_TLS and CONFIG_TLS_DEVICE flags are enabled.
45