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