diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-17 14:58:24 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-18 14:45:36 +0800 |
commit | 596103cf8fb0a258e1a5ed3e895860764490934d (patch) | |
tree | ae0a5d30317d8d17318bcf475153725ae88fa720 /drivers/crypto/qat/Kconfig | |
parent | 31267270a355945e172de4927140dd26ff292461 (diff) | |
download | linux-596103cf8fb0a258e1a5ed3e895860764490934d.tar.gz linux-596103cf8fb0a258e1a5ed3e895860764490934d.tar.bz2 linux-596103cf8fb0a258e1a5ed3e895860764490934d.zip |
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>
Diffstat (limited to 'drivers/crypto/qat/Kconfig')
-rw-r--r-- | drivers/crypto/qat/Kconfig | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/crypto/qat/Kconfig b/drivers/crypto/qat/Kconfig index 49bede2a9f77..6fdb9e8b22a7 100644 --- a/drivers/crypto/qat/Kconfig +++ b/drivers/crypto/qat/Kconfig @@ -2,9 +2,8 @@ config CRYPTO_DEV_QAT tristate select CRYPTO_AEAD select CRYPTO_AUTHENC - select CRYPTO_ALGAPI - select CRYPTO_AES - select CRYPTO_CBC + select CRYPTO_BLKCIPHER + select CRYPTO_HMAC select CRYPTO_SHA1 select CRYPTO_SHA256 select CRYPTO_SHA512 @@ -13,7 +12,6 @@ config CRYPTO_DEV_QAT config CRYPTO_DEV_QAT_DH895xCC tristate "Support for Intel(R) DH895xCC" depends on X86 && PCI - default n select CRYPTO_DEV_QAT help Support for Intel(R) DH895xcc with Intel(R) QuickAssist Technology |