mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
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 <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: Michael S. Tsirkin <[email protected]>
Signed-off-by: Gonglei <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
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.
|