crypto: nx - add PowerNV platform NX-842 driver
[firefly-linux-kernel-4.4.55.git] / drivers / crypto / nx / Kconfig
1
2 config 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_ALGAPI
7         select CRYPTO_AES
8         select CRYPTO_CBC
9         select CRYPTO_ECB
10         select CRYPTO_CCM
11         select CRYPTO_GCM
12         select CRYPTO_AUTHENC
13         select CRYPTO_XCBC
14         select CRYPTO_SHA256
15         select CRYPTO_SHA512
16         help
17           Support for PowerPC Nest (NX) encryption acceleration. This
18           module supports acceleration for AES and SHA2 algorithms on
19           the pSeries platform.  If you choose 'M' here, this module
20           will be called nx_crypto.
21
22 config CRYPTO_DEV_NX_COMPRESS
23         tristate "Compression acceleration support"
24         default y
25         help
26           Support for PowerPC Nest (NX) compression acceleration. This
27           module supports acceleration for compressing memory with the 842
28           algorithm.  One of the platform drivers must be selected also.
29           If you choose 'M' here, this module will be called nx_compress.
30
31 if CRYPTO_DEV_NX_COMPRESS
32
33 config CRYPTO_DEV_NX_COMPRESS_PSERIES
34         tristate "Compression acceleration support on pSeries platform"
35         depends on PPC_PSERIES && IBMVIO && !CPU_LITTLE_ENDIAN
36         default y
37         help
38           Support for PowerPC Nest (NX) compression acceleration. This
39           module supports acceleration for compressing memory with the 842
40           algorithm.  This supports NX hardware on the pSeries platform.
41           If you choose 'M' here, this module will be called nx_compress_pseries.
42
43 config CRYPTO_DEV_NX_COMPRESS_POWERNV
44         tristate "Compression acceleration support on PowerNV platform"
45         depends on PPC_POWERNV
46         default y
47         help
48           Support for PowerPC Nest (NX) compression acceleration. This
49           module supports acceleration for compressing memory with the 842
50           algorithm.  This supports NX hardware on the PowerNV platform.
51           If you choose 'M' here, this module will be called nx_compress_powernv.
52
53 endif