162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciconfig CRYPTO_DEV_NX_ENCRYPT
462306a36Sopenharmony_ci	tristate "Encryption acceleration support on pSeries platform"
562306a36Sopenharmony_ci	depends on PPC_PSERIES && IBMVIO && !CPU_LITTLE_ENDIAN
662306a36Sopenharmony_ci	default y
762306a36Sopenharmony_ci	select CRYPTO_AES
862306a36Sopenharmony_ci	select CRYPTO_CCM
962306a36Sopenharmony_ci	help
1062306a36Sopenharmony_ci	  Support for PowerPC Nest (NX) encryption acceleration. This
1162306a36Sopenharmony_ci	  module supports acceleration for AES and SHA2 algorithms on
1262306a36Sopenharmony_ci	  the pSeries platform.  If you choose 'M' here, this module
1362306a36Sopenharmony_ci	  will be called nx_crypto.
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciconfig CRYPTO_DEV_NX_COMPRESS
1662306a36Sopenharmony_ci	tristate "Compression acceleration support"
1762306a36Sopenharmony_ci	default y
1862306a36Sopenharmony_ci	select CRYPTO_ALGAPI
1962306a36Sopenharmony_ci	select 842_DECOMPRESS
2062306a36Sopenharmony_ci	help
2162306a36Sopenharmony_ci	  Support for PowerPC Nest (NX) compression acceleration. This
2262306a36Sopenharmony_ci	  module supports acceleration for compressing memory with the 842
2362306a36Sopenharmony_ci	  algorithm using the cryptographic API.  One of the platform
2462306a36Sopenharmony_ci	  drivers must be selected also.  If you choose 'M' here, this
2562306a36Sopenharmony_ci	  module will be called nx_compress.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciif CRYPTO_DEV_NX_COMPRESS
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciconfig CRYPTO_DEV_NX_COMPRESS_PSERIES
3062306a36Sopenharmony_ci	tristate "Compression acceleration support on pSeries platform"
3162306a36Sopenharmony_ci	depends on PPC_PSERIES && IBMVIO
3262306a36Sopenharmony_ci	depends on PPC_VAS
3362306a36Sopenharmony_ci	default y
3462306a36Sopenharmony_ci	help
3562306a36Sopenharmony_ci	  Support for PowerPC Nest (NX) compression acceleration. This
3662306a36Sopenharmony_ci	  module supports acceleration for compressing memory with the 842
3762306a36Sopenharmony_ci	  algorithm.  This supports NX hardware on the pSeries platform.
3862306a36Sopenharmony_ci	  If you choose 'M' here, this module will be called nx_compress_pseries.
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ciconfig CRYPTO_DEV_NX_COMPRESS_POWERNV
4162306a36Sopenharmony_ci	tristate "Compression acceleration support on PowerNV platform"
4262306a36Sopenharmony_ci	depends on PPC_POWERNV
4362306a36Sopenharmony_ci	depends on PPC_VAS
4462306a36Sopenharmony_ci	default y
4562306a36Sopenharmony_ci	help
4662306a36Sopenharmony_ci	  Support for PowerPC Nest (NX) compression acceleration. This
4762306a36Sopenharmony_ci	  module supports acceleration for compressing memory with the 842
4862306a36Sopenharmony_ci	  algorithm.  This supports NX hardware on the PowerNV platform.
4962306a36Sopenharmony_ci	  If you choose 'M' here, this module will be called nx_compress_powernv.
5062306a36Sopenharmony_ci
5162306a36Sopenharmony_ciendif
52