]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: drivers - Fix Kconfig selects
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 17 Jun 2015 06:58:24 +0000 (14:58 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Jun 2015 06:45:36 +0000 (14:45 +0800)
commit9716ad2ebd540637939de4db2065fa8dd20b63ff
treeae0a5d30317d8d17318bcf475153725ae88fa720
parentc3c21e651ef78ee2edbee134ec22a5e68aba5c9a
crypto: drivers - Fix Kconfig selects

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>
drivers/crypto/Kconfig
drivers/crypto/caam/Kconfig
drivers/crypto/ccp/Kconfig
drivers/crypto/nx/Kconfig
drivers/crypto/qat/Kconfig
drivers/crypto/ux500/Kconfig