Re: [Qemu-devel] [PATCH v7 12/12] virtio-crypto: perfect algorithms chainning support

2016-10-16 Thread Gonglei (Arei)
> -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@gmail.com] > Sent: Sunday, October 16, 2016 9:30 PM > Subject: Re: [Qemu-devel] [PATCH v7 12/12] virtio-crypto: perfect algorithms > chainning support > > On Thu, Oct 13, 2016 at 03:12:06PM +0800, Gonglei

Re: [Qemu-devel] [PATCH v7 12/12] virtio-crypto: perfect algorithms chainning support

2016-10-16 Thread Stefan Hajnoczi
On Thu, Oct 13, 2016 at 03:12:06PM +0800, Gonglei wrote: > diff --git a/include/standard-headers/linux/virtio_crypto.h > b/include/standard-headers/linux/virtio_crypto.h > index f2a059e..9ae02fb 100644 > --- a/include/standard-headers/linux/virtio_crypto.h > +++ b/include/standard-headers/linux/vi

[Qemu-devel] [PATCH v7 12/12] virtio-crypto: perfect algorithms chainning support

2016-10-13 Thread Gonglei
For one source buffer, we can do cipher and hash operations partly in algorithms chainning mode. We updated the corresponding part in virtio crypto specification firstly. The cryptodev-builtin backend doesn't support algorithm chainning, so let's add a check for it. Signed-off-by: Gonglei --- b