diff options
author | Peter Wu <peter@lekensteyn.nl> | 2018-03-06 18:53:15 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-03-16 11:35:51 -0400 |
commit | 5bfa7ac3883e702a0a0a33a8449b044d7dab3efe (patch) | |
tree | 84c3b7062f2ecb59d2ce41b038e4481dedf2c741 /drivers/crypto | |
parent | cd83a8a7c3eaffe985c6c8913c84da06a59fbe5d (diff) |
crypto: virtio - remove dependency on CRYPTO_AUTHENC
virtio_crypto does not use function crypto_authenc_extractkeys, remove
this unnecessary dependency. Compiles fine and passes cryptodev-linux
cipher and speed tests from https://wiki.qemu.org/Features/VirtioCrypto
Fixes: dbaf0624ffa5 ("crypto: add virtio-crypto driver")
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/virtio/Kconfig | 1 | ||||
-rw-r--r-- | drivers/crypto/virtio/virtio_crypto_common.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/virtio/Kconfig b/drivers/crypto/virtio/Kconfig index 5db07495ddc5..a4324b1383a4 100644 --- a/drivers/crypto/virtio/Kconfig +++ b/drivers/crypto/virtio/Kconfig | |||
@@ -2,7 +2,6 @@ config CRYPTO_DEV_VIRTIO | |||
2 | tristate "VirtIO crypto driver" | 2 | tristate "VirtIO crypto driver" |
3 | depends on VIRTIO | 3 | depends on VIRTIO |
4 | select CRYPTO_AEAD | 4 | select CRYPTO_AEAD |
5 | select CRYPTO_AUTHENC | ||
6 | select CRYPTO_BLKCIPHER | 5 | select CRYPTO_BLKCIPHER |
7 | select CRYPTO_ENGINE | 6 | select CRYPTO_ENGINE |
8 | default m | 7 | default m |
diff --git a/drivers/crypto/virtio/virtio_crypto_common.h b/drivers/crypto/virtio/virtio_crypto_common.h index 72621bd67211..66501a5a2b7b 100644 --- a/drivers/crypto/virtio/virtio_crypto_common.h +++ b/drivers/crypto/virtio/virtio_crypto_common.h | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <linux/spinlock.h> | 24 | #include <linux/spinlock.h> |
25 | #include <crypto/aead.h> | 25 | #include <crypto/aead.h> |
26 | #include <crypto/aes.h> | 26 | #include <crypto/aes.h> |
27 | #include <crypto/authenc.h> | ||
28 | #include <crypto/engine.h> | 27 | #include <crypto/engine.h> |
29 | 28 | ||
30 | 29 | ||