summaryrefslogtreecommitdiff
path: root/drivers/crypto/virtio/Kconfig
diff options
context:
space:
mode:
authorGonglei \(Arei\) <arei.gonglei@huawei.com>2016-12-27 14:49:07 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-12-30 19:52:38 +0800
commitd79b5d0bbf2e3aded13b0542160bde48e95d3d44 (patch)
tree77930d39c6142640fc474d8ec9fea2d08872fb43 /drivers/crypto/virtio/Kconfig
parent1043c5146877ea48e4c8569a1c7931e1bfb6acb5 (diff)
crypto: virtio - support crypto engine framework
crypto engine was introduced since 'commit 735d37b5424b ("crypto: engine - Introduce the block request crypto engine framework")' which uses work queue to realize the asynchronous processing for ablk_cipher and ahash. For virtio-crypto device, I register an engine for each data virtqueue so that we can use the capability of multiple data queues in future. Cc: Baolin Wang <baolin.wang@linaro.org> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Gonglei <arei.gonglei@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/virtio/Kconfig')
-rw-r--r--drivers/crypto/virtio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/virtio/Kconfig b/drivers/crypto/virtio/Kconfig
index d80f73366ae2..5db07495ddc5 100644
--- a/drivers/crypto/virtio/Kconfig
+++ b/drivers/crypto/virtio/Kconfig
@@ -4,6 +4,7 @@ config CRYPTO_DEV_VIRTIO
select CRYPTO_AEAD
select CRYPTO_AUTHENC
select CRYPTO_BLKCIPHER
+ select CRYPTO_ENGINE
default m
help
This driver provides support for virtio crypto device. If you