mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
![Gonglei \(Arei\)](/assets/img/avatar_default.png)
crypto engine was introduced since 'commit 735d37b542
("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>
11 lines
311 B
Text
11 lines
311 B
Text
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
|
|
help
|
|
This driver provides support for virtio crypto device. If you
|
|
choose 'M' here, this module will be called virtio_crypto.
|