crypto: virtio - remove dependency on CRYPTO_AUTHENC
authorPeter Wu <peter@lekensteyn.nl>
Tue, 6 Mar 2018 23:53:15 +0000 (00:53 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Mar 2018 15:35:51 +0000 (23:35 +0800)
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>
drivers/crypto/virtio/Kconfig
drivers/crypto/virtio/virtio_crypto_common.h

index 5db07495ddc53f49cc5fe96f36c99afbcf00d82c..a4324b1383a43ee2b235475a48048b9e009f4e63 100644 (file)
@@ -2,7 +2,6 @@ config CRYPTO_DEV_VIRTIO
        tristate "VirtIO crypto driver"
        depends on VIRTIO
        select CRYPTO_AEAD
-       select CRYPTO_AUTHENC
        select CRYPTO_BLKCIPHER
        select CRYPTO_ENGINE
        default m
index 72621bd672114dbec2f0c886d6354fc327d183d1..66501a5a2b7b367f8b043b8cc337eb79d61f1d6f 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/spinlock.h>
 #include <crypto/aead.h>
 #include <crypto/aes.h>
-#include <crypto/authenc.h>
 #include <crypto/engine.h>