Re: [Qemu-devel] [PATCH v7 10/12] cryptodev: introduce an unified wrapper for crypto operation

2016-10-16 Thread Gonglei (Arei)
> -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@gmail.com] > Sent: Sunday, October 16, 2016 9:26 PM > Subject: Re: [Qemu-devel] [PATCH v7 10/12] cryptodev: introduce an unified > wrapper for crypto operation > > On Thu, Oct 13, 2016 at 03:12:04PM

Re: [Qemu-devel] [PATCH v7 10/12] cryptodev: introduce an unified wrapper for crypto operation

2016-10-16 Thread Stefan Hajnoczi
On Thu, Oct 13, 2016 at 03:12:04PM +0800, Gonglei wrote: > We use an opaque point to the VirtIOCryptoReq which > can support different packets based on different > algorithms. > > Signed-off-by: Gonglei > --- > backends/cryptodev-builtin.c | 2 +- > backends/cryptodev.c | 28 +++

[Qemu-devel] [PATCH v7 10/12] cryptodev: introduce an unified wrapper for crypto operation

2016-10-13 Thread Gonglei
We use an opaque point to the VirtIOCryptoReq which can support different packets based on different algorithms. Signed-off-by: Gonglei --- backends/cryptodev-builtin.c | 2 +- backends/cryptodev.c | 28 ++-- hw/virtio/virtio-crypto.c| 10 +- include/