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