mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Herbert Xu](/assets/img/avatar_default.png)
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>
23 lines
793 B
Text
23 lines
793 B
Text
config CRYPTO_DEV_CCP_DD
|
|
tristate "Cryptographic Coprocessor device driver"
|
|
depends on CRYPTO_DEV_CCP
|
|
default m
|
|
select HW_RANDOM
|
|
help
|
|
Provides the interface to use the AMD Cryptographic Coprocessor
|
|
which can be used to accelerate or offload encryption operations
|
|
such as SHA, AES and more. If you choose 'M' here, this module
|
|
will be called ccp.
|
|
|
|
config CRYPTO_DEV_CCP_CRYPTO
|
|
tristate "Encryption and hashing acceleration support"
|
|
depends on CRYPTO_DEV_CCP_DD
|
|
default m
|
|
select CRYPTO_HASH
|
|
select CRYPTO_BLKCIPHER
|
|
select CRYPTO_AUTHENC
|
|
help
|
|
Support for using the cryptographic API with the AMD Cryptographic
|
|
Coprocessor. This module supports acceleration and offload of SHA
|
|
and AES algorithms. If you choose 'M' here, this module will be
|
|
called ccp_crypto.
|