]> git.proxmox.com Git - mirror_qemu.git/commit - hw/virtio/virtio-crypto.c
cryptodev: introduce an unified wrapper for crypto operation
authorGonglei <arei.gonglei@huawei.com>
Fri, 28 Oct 2016 08:33:29 +0000 (16:33 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 1 Nov 2016 17:21:08 +0000 (19:21 +0200)
commitd6634ac09abf20d890fd094773f125ee0ff0b1cb
tree1d7a92f2a248141b8404d5a7eaf67c1c40ea9f6c
parent04b9b37edda85964cca033a48dcc0298036782f2
cryptodev: introduce an unified wrapper for crypto operation

We use an opaque point to the VirtIOCryptoReq which
can support different packets based on different
algorithms.

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>
backends/cryptodev.c
hw/virtio/virtio-crypto.c
include/sysemu/cryptodev.h