Skip to content

Commit 5bfa7ac

Browse files
Lekensteynherbertx
authored andcommitted
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: dbaf062 ("crypto: add virtio-crypto driver") Signed-off-by: Peter Wu <peter@lekensteyn.nl> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent cd83a8a commit 5bfa7ac

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/crypto/virtio/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ config CRYPTO_DEV_VIRTIO
22
tristate "VirtIO crypto driver"
33
depends on VIRTIO
44
select CRYPTO_AEAD
5-
select CRYPTO_AUTHENC
65
select CRYPTO_BLKCIPHER
76
select CRYPTO_ENGINE
87
default m

‎drivers/crypto/virtio/virtio_crypto_common.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#include <linux/spinlock.h>
2525
#include <crypto/aead.h>
2626
#include <crypto/aes.h>
27-
#include <crypto/authenc.h>
2827
#include <crypto/engine.h>
2928

3029

0 commit comments

Comments
 (0)