mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 05:24:47 +08:00
d79b5d0bbf
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>
12 lines
311 B
Plaintext
12 lines
311 B
Plaintext
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.
|