xref: /openbmc/linux/drivers/crypto/nx/Kconfig (revision 6b342707)
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	depends on PPC_VAS
33	default y
34	help
35	  Support for PowerPC Nest (NX) compression acceleration. This
36	  module supports acceleration for compressing memory with the 842
37	  algorithm.  This supports NX hardware on the pSeries platform.
38	  If you choose 'M' here, this module will be called nx_compress_pseries.
39
40config CRYPTO_DEV_NX_COMPRESS_POWERNV
41	tristate "Compression acceleration support on PowerNV platform"
42	depends on PPC_POWERNV
43	depends on PPC_VAS
44	default y
45	help
46	  Support for PowerPC Nest (NX) compression acceleration. This
47	  module supports acceleration for compressing memory with the 842
48	  algorithm.  This supports NX hardware on the PowerNV platform.
49	  If you choose 'M' here, this module will be called nx_compress_powernv.
50
51endif
52