This patch fixes a number of problems in crypto driver Kconfig entries: 1. Select BLKCIPHER instead of BLKCIPHER2. The latter is internal and should not be used outside of the crypto API itself. 2. Do not select ALGAPI unless you use a legacy type like CRYPTO_ALG_TYPE_CIPHER. 3. Select the algorithm type that you are implementing, e.g., AEAD. 4. Do not select generic C code such as CBC/ECB unless you use them as a fallback. 5. Remove default n since that is the default default. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
56 lines
1.9 KiB
Plaintext
56 lines
1.9 KiB
Plaintext
|
|
config CRYPTO_DEV_NX_ENCRYPT
|
|
tristate "Encryption acceleration support on pSeries platform"
|
|
depends on PPC_PSERIES && IBMVIO && !CPU_LITTLE_ENDIAN
|
|
default y
|
|
select CRYPTO_AES
|
|
select CRYPTO_CCM
|
|
help
|
|
Support for PowerPC Nest (NX) encryption acceleration. This
|
|
module supports acceleration for AES and SHA2 algorithms on
|
|
the pSeries platform. If you choose 'M' here, this module
|
|
will be called nx_crypto.
|
|
|
|
config CRYPTO_DEV_NX_COMPRESS
|
|
tristate "Compression acceleration support"
|
|
default y
|
|
help
|
|
Support for PowerPC Nest (NX) compression acceleration. This
|
|
module supports acceleration for compressing memory with the 842
|
|
algorithm. One of the platform drivers must be selected also.
|
|
If you choose 'M' here, this module will be called nx_compress.
|
|
|
|
if CRYPTO_DEV_NX_COMPRESS
|
|
|
|
config CRYPTO_DEV_NX_COMPRESS_PSERIES
|
|
tristate "Compression acceleration support on pSeries platform"
|
|
depends on PPC_PSERIES && IBMVIO && !CPU_LITTLE_ENDIAN
|
|
default y
|
|
help
|
|
Support for PowerPC Nest (NX) compression acceleration. This
|
|
module supports acceleration for compressing memory with the 842
|
|
algorithm. This supports NX hardware on the pSeries platform.
|
|
If you choose 'M' here, this module will be called nx_compress_pseries.
|
|
|
|
config CRYPTO_DEV_NX_COMPRESS_POWERNV
|
|
tristate "Compression acceleration support on PowerNV platform"
|
|
depends on PPC_POWERNV
|
|
default y
|
|
help
|
|
Support for PowerPC Nest (NX) compression acceleration. This
|
|
module supports acceleration for compressing memory with the 842
|
|
algorithm. This supports NX hardware on the PowerNV platform.
|
|
If you choose 'M' here, this module will be called nx_compress_powernv.
|
|
|
|
config CRYPTO_DEV_NX_COMPRESS_CRYPTO
|
|
tristate "Compression acceleration cryptographic interface"
|
|
select CRYPTO_ALGAPI
|
|
select 842_DECOMPRESS
|
|
default y
|
|
help
|
|
Support for PowerPC Nest (NX) accelerators using the cryptographic
|
|
API. If you choose 'M' here, this module will be called
|
|
nx_compress_crypto.
|
|
|
|
endif
|