• Gonglei \(Arei\)'s avatar
    crypto: virtio - support crypto engine framework · d79b5d0b
    Gonglei \(Arei\) authored
    crypto engine was introduced since 'commit 735d37b5 ("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: default avatarGonglei <arei.gonglei@huawei.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    d79b5d0b
virtio_crypto_common.h 4 KB