xref: /openbmc/linux/drivers/crypto/nx/Kconfig (revision ec8f24b7)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
27011a122SDan Streetman
3322cacceSSeth Jenningsconfig CRYPTO_DEV_NX_ENCRYPT
47011a122SDan Streetman	tristate "Encryption acceleration support on pSeries platform"
57011a122SDan Streetman	depends on PPC_PSERIES && IBMVIO && !CPU_LITTLE_ENDIAN
6322cacceSSeth Jennings	default y
7322cacceSSeth Jennings	select CRYPTO_AES
8322cacceSSeth Jennings	select CRYPTO_CCM
9322cacceSSeth Jennings	help
107011a122SDan Streetman	  Support for PowerPC Nest (NX) encryption acceleration. This
117011a122SDan Streetman	  module supports acceleration for AES and SHA2 algorithms on
127011a122SDan Streetman	  the pSeries platform.  If you choose 'M' here, this module
137011a122SDan Streetman	  will be called nx_crypto.
140e16aafbSSeth Jennings
150e16aafbSSeth Jenningsconfig CRYPTO_DEV_NX_COMPRESS
160e16aafbSSeth Jennings	tristate "Compression acceleration support"
170e16aafbSSeth Jennings	default y
18d31581a6SDan Streetman	select CRYPTO_ALGAPI
19d31581a6SDan Streetman	select 842_DECOMPRESS
200e16aafbSSeth Jennings	help
217011a122SDan Streetman	  Support for PowerPC Nest (NX) compression acceleration. This
227011a122SDan Streetman	  module supports acceleration for compressing memory with the 842
23d31581a6SDan Streetman	  algorithm using the cryptographic API.  One of the platform
24d31581a6SDan Streetman	  drivers must be selected also.  If you choose 'M' here, this
25d31581a6SDan Streetman	  module will be called nx_compress.
267011a122SDan Streetman
277011a122SDan Streetmanif CRYPTO_DEV_NX_COMPRESS
287011a122SDan Streetman
297011a122SDan Streetmanconfig CRYPTO_DEV_NX_COMPRESS_PSERIES
307011a122SDan Streetman	tristate "Compression acceleration support on pSeries platform"
31c47d6302SDan Streetman	depends on PPC_PSERIES && IBMVIO
327011a122SDan Streetman	default y
337011a122SDan Streetman	help
347011a122SDan Streetman	  Support for PowerPC Nest (NX) compression acceleration. This
357011a122SDan Streetman	  module supports acceleration for compressing memory with the 842
367011a122SDan Streetman	  algorithm.  This supports NX hardware on the pSeries platform.
377011a122SDan Streetman	  If you choose 'M' here, this module will be called nx_compress_pseries.
387011a122SDan Streetman
3999182a42SDan Streetmanconfig CRYPTO_DEV_NX_COMPRESS_POWERNV
4099182a42SDan Streetman	tristate "Compression acceleration support on PowerNV platform"
4199182a42SDan Streetman	depends on PPC_POWERNV
42b0d6c9baSHaren Myneni	depends on PPC_VAS
4399182a42SDan Streetman	default y
4499182a42SDan Streetman	help
4599182a42SDan Streetman	  Support for PowerPC Nest (NX) compression acceleration. This
4699182a42SDan Streetman	  module supports acceleration for compressing memory with the 842
4799182a42SDan Streetman	  algorithm.  This supports NX hardware on the PowerNV platform.
4899182a42SDan Streetman	  If you choose 'M' here, this module will be called nx_compress_powernv.
4999182a42SDan Streetman
507011a122SDan Streetmanendif
51