virtio-crypto: add data queue processing handler
commit04b9b37edda85964cca033a48dcc0298036782f2
authorGonglei <arei.gonglei@huawei.com>
Fri, 28 Oct 2016 08:33:28 +0000 (28 16:33 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 1 Nov 2016 17:21:08 +0000 (1 19:21 +0200)
treeaf441564addc64be939abd6a2bd2e8fac4d97596
parent59c360ca42121e6f6ed83bc740aa5d1a1b59be1d
virtio-crypto: add data queue processing handler

Introduces VirtIOCryptoReq structure to store
crypto request so that we can easily support
asynchronous crypto operation in the future.

At present, we only support cipher and algorithm
chaining.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-crypto.c
include/hw/virtio/virtio-crypto.h