18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_NX_ENCRYPT
48c2ecf20Sopenharmony_ci	tristate "Encryption acceleration support on pSeries platform"
58c2ecf20Sopenharmony_ci	depends on PPC_PSERIES && IBMVIO && !CPU_LITTLE_ENDIAN
68c2ecf20Sopenharmony_ci	default y
78c2ecf20Sopenharmony_ci	select CRYPTO_AES
88c2ecf20Sopenharmony_ci	select CRYPTO_CCM
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  Support for PowerPC Nest (NX) encryption acceleration. This
118c2ecf20Sopenharmony_ci	  module supports acceleration for AES and SHA2 algorithms on
128c2ecf20Sopenharmony_ci	  the pSeries platform.  If you choose 'M' here, this module
138c2ecf20Sopenharmony_ci	  will be called nx_crypto.
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_NX_COMPRESS
168c2ecf20Sopenharmony_ci	tristate "Compression acceleration support"
178c2ecf20Sopenharmony_ci	default y
188c2ecf20Sopenharmony_ci	select CRYPTO_ALGAPI
198c2ecf20Sopenharmony_ci	select 842_DECOMPRESS
208c2ecf20Sopenharmony_ci	help
218c2ecf20Sopenharmony_ci	  Support for PowerPC Nest (NX) compression acceleration. This
228c2ecf20Sopenharmony_ci	  module supports acceleration for compressing memory with the 842
238c2ecf20Sopenharmony_ci	  algorithm using the cryptographic API.  One of the platform
248c2ecf20Sopenharmony_ci	  drivers must be selected also.  If you choose 'M' here, this
258c2ecf20Sopenharmony_ci	  module will be called nx_compress.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciif CRYPTO_DEV_NX_COMPRESS
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_NX_COMPRESS_PSERIES
308c2ecf20Sopenharmony_ci	tristate "Compression acceleration support on pSeries platform"
318c2ecf20Sopenharmony_ci	depends on PPC_PSERIES && IBMVIO
328c2ecf20Sopenharmony_ci	default y
338c2ecf20Sopenharmony_ci	help
348c2ecf20Sopenharmony_ci	  Support for PowerPC Nest (NX) compression acceleration. This
358c2ecf20Sopenharmony_ci	  module supports acceleration for compressing memory with the 842
368c2ecf20Sopenharmony_ci	  algorithm.  This supports NX hardware on the pSeries platform.
378c2ecf20Sopenharmony_ci	  If you choose 'M' here, this module will be called nx_compress_pseries.
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_NX_COMPRESS_POWERNV
408c2ecf20Sopenharmony_ci	tristate "Compression acceleration support on PowerNV platform"
418c2ecf20Sopenharmony_ci	depends on PPC_POWERNV
428c2ecf20Sopenharmony_ci	depends on PPC_VAS
438c2ecf20Sopenharmony_ci	default y
448c2ecf20Sopenharmony_ci	help
458c2ecf20Sopenharmony_ci	  Support for PowerPC Nest (NX) compression acceleration. This
468c2ecf20Sopenharmony_ci	  module supports acceleration for compressing memory with the 842
478c2ecf20Sopenharmony_ci	  algorithm.  This supports NX hardware on the PowerNV platform.
488c2ecf20Sopenharmony_ci	  If you choose 'M' here, this module will be called nx_compress_powernv.
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ciendif
51