xref: /openbmc/linux/drivers/crypto/nx/Kconfig (revision ae213c44)
1# SPDX-License-Identifier: GPL-2.0-only
2
3config CRYPTO_DEV_NX_ENCRYPT
4	tristate "Encryption acceleration support on pSeries platform"
5	depends on PPC_PSERIES && IBMVIO && !CPU_LITTLE_ENDIAN
6	default y
7	select CRYPTO_AES
8	select CRYPTO_CCM
9	help
10	  Support for PowerPC Nest (NX) encryption acceleration. This
11	  module supports acceleration for AES and SHA2 algorithms on
12	  the pSeries platform.  If you choose 'M' here, this module
13	  will be called nx_crypto.
14
15config CRYPTO_DEV_NX_COMPRESS
16	tristate "Compression acceleration support"
17	default y
18	select CRYPTO_ALGAPI
19	select 842_DECOMPRESS
20	help
21	  Support for PowerPC Nest (NX) compression acceleration. This
22	  module supports acceleration for compressing memory with the 842
23	  algorithm using the cryptographic API.  One of the platform
24	  drivers must be selected also.  If you choose 'M' here, this
25	  module will be called nx_compress.
26
27if CRYPTO_DEV_NX_COMPRESS
28
29config CRYPTO_DEV_NX_COMPRESS_PSERIES
30	tristate "Compression acceleration support on pSeries platform"
31	depends on PPC_PSERIES && IBMVIO
32	default y
33	help
34	  Support for PowerPC Nest (NX) compression acceleration. This
35	  module supports acceleration for compressing memory with the 842
36	  algorithm.  This supports NX hardware on the pSeries platform.
37	  If you choose 'M' here, this module will be called nx_compress_pseries.
38
39config CRYPTO_DEV_NX_COMPRESS_POWERNV
40	tristate "Compression acceleration support on PowerNV platform"
41	depends on PPC_POWERNV
42	depends on PPC_VAS
43	default y
44	help
45	  Support for PowerPC Nest (NX) compression acceleration. This
46	  module supports acceleration for compressing memory with the 842
47	  algorithm.  This supports NX hardware on the PowerNV platform.
48	  If you choose 'M' here, this module will be called nx_compress_powernv.
49
50endif
51