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

Realize the symmetric algorithm control queue handler,
including plain cipher and chainning algorithms.

Currently the control queue is used to create and
close session for symmetric algorithm.

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