0001 # SPDX-License-Identifier: GPL-2.0-only
0002
0003 config CRYPTO_DEV_NX_ENCRYPT
0004 tristate "Encryption acceleration support on pSeries platform"
0005 depends on PPC_PSERIES && IBMVIO && !CPU_LITTLE_ENDIAN
0006 default y
0007 select CRYPTO_AES
0008 select CRYPTO_CCM
0009 help
0010 Support for PowerPC Nest (NX) encryption acceleration. This
0011 module supports acceleration for AES and SHA2 algorithms on
0012 the pSeries platform. If you choose 'M' here, this module
0013 will be called nx_crypto.
0014
0015 config CRYPTO_DEV_NX_COMPRESS
0016 tristate "Compression acceleration support"
0017 default y
0018 select CRYPTO_ALGAPI
0019 select 842_DECOMPRESS
0020 help
0021 Support for PowerPC Nest (NX) compression acceleration. This
0022 module supports acceleration for compressing memory with the 842
0023 algorithm using the cryptographic API. One of the platform
0024 drivers must be selected also. If you choose 'M' here, this
0025 module will be called nx_compress.
0026
0027 if CRYPTO_DEV_NX_COMPRESS
0028
0029 config CRYPTO_DEV_NX_COMPRESS_PSERIES
0030 tristate "Compression acceleration support on pSeries platform"
0031 depends on PPC_PSERIES && IBMVIO
0032 depends on PPC_VAS
0033 default y
0034 help
0035 Support for PowerPC Nest (NX) compression acceleration. This
0036 module supports acceleration for compressing memory with the 842
0037 algorithm. This supports NX hardware on the pSeries platform.
0038 If you choose 'M' here, this module will be called nx_compress_pseries.
0039
0040 config CRYPTO_DEV_NX_COMPRESS_POWERNV
0041 tristate "Compression acceleration support on PowerNV platform"
0042 depends on PPC_POWERNV
0043 depends on PPC_VAS
0044 default y
0045 help
0046 Support for PowerPC Nest (NX) compression acceleration. This
0047 module supports acceleration for compressing memory with the 842
0048 algorithm. This supports NX hardware on the PowerNV platform.
0049 If you choose 'M' here, this module will be called nx_compress_powernv.
0050
0051 endif