blob: 2a35e0e785bd4df65d6dcdcad9ab4acb2fe9e306 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Dan Streetman7011a122015-05-07 13:49:17 -04002
Seth Jennings322cacc2012-07-19 09:42:38 -05003config CRYPTO_DEV_NX_ENCRYPT
Dan Streetman7011a122015-05-07 13:49:17 -04004 tristate "Encryption acceleration support on pSeries platform"
5 depends on PPC_PSERIES && IBMVIO && !CPU_LITTLE_ENDIAN
Seth Jennings322cacc2012-07-19 09:42:38 -05006 default y
7 select CRYPTO_AES
Seth Jennings322cacc2012-07-19 09:42:38 -05008 select CRYPTO_CCM
Seth Jennings322cacc2012-07-19 09:42:38 -05009 help
Dan Streetman7011a122015-05-07 13:49:17 -040010 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.
Seth Jennings0e16aaf2012-07-19 09:42:40 -050014
15config CRYPTO_DEV_NX_COMPRESS
16 tristate "Compression acceleration support"
Seth Jennings0e16aaf2012-07-19 09:42:40 -050017 default y
Dan Streetmand31581a2015-07-22 14:26:36 -040018 select CRYPTO_ALGAPI
19 select 842_DECOMPRESS
Seth Jennings0e16aaf2012-07-19 09:42:40 -050020 help
Dan Streetman7011a122015-05-07 13:49:17 -040021 Support for PowerPC Nest (NX) compression acceleration. This
22 module supports acceleration for compressing memory with the 842
Dan Streetmand31581a2015-07-22 14:26:36 -040023 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.
Dan Streetman7011a122015-05-07 13:49:17 -040026
27if CRYPTO_DEV_NX_COMPRESS
28
29config CRYPTO_DEV_NX_COMPRESS_PSERIES
30 tristate "Compression acceleration support on pSeries platform"
Dan Streetmanc47d6302015-06-18 12:05:30 -040031 depends on PPC_PSERIES && IBMVIO
Haren Myneni99cd49b2021-06-17 13:39:41 -070032 depends on PPC_VAS
Dan Streetman7011a122015-05-07 13:49:17 -040033 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
Dan Streetman99182a422015-05-07 13:49:19 -040040config CRYPTO_DEV_NX_COMPRESS_POWERNV
41 tristate "Compression acceleration support on PowerNV platform"
42 depends on PPC_POWERNV
Haren Mynenib0d6c9b2017-08-31 00:19:07 -070043 depends on PPC_VAS
Dan Streetman99182a422015-05-07 13:49:19 -040044 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
Dan Streetman7011a122015-05-07 13:49:17 -040051endif