Re: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-31 Thread Gonglei (Arei)
; Keating, Brian A; Hanweidong (Randy); Luonengjun; Huangpeng (Peter); Griffin, > John; Ma, Liang J; Stefan Hajnoczi; Cornelia Huck; Varun Sethi; Jani Kokkonen; > Lingli Deng; Huangweidong (C) > Subject: [virtio-dev] RE: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio > crypto > device spec

Re: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-31 Thread Zeng, Xin
On Friday, July 29, 2016 12:10 PM Gonglei (Arei) Wrote: > > I think version field is useful in some cases. > > Considering a case, if virtio crypto device implementation has defects, > > and a new version fixes this defect, how can the driver know whether the > > behavior of the device is correc

Re: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-29 Thread Gonglei (Arei)
Randy); Luonengjun; > Huangpeng (Peter); Griffin John; Ma Liang J; Stefan Hajnoczi; Cornelia Huck; > Varun Sethi; Jani Kokkonen; Lingli Deng > Subject: Re: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device > specification > > On Wed, Jul 27, 2016 at 06:08:23PM +0800,

Re: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-29 Thread Stefan Hajnoczi
On Wed, Jul 27, 2016 at 06:08:23PM +0800, Gonglei wrote: > +The first driver-read-only field, \field{version} specifies the virtio > crypto??s > +version, which is reserved for back-compatibility in future.It??s currently Here... > +Step2: Execute the detail encryption operation: > +\begin{enume

Re: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-29 Thread Zeng, Xin
Liljedahl; Keating, Brian A; Hanweidong (Randy); Luonengjun; > Huangpeng (Peter); Griffin, John; Ma, Liang J; Stefan Hajnoczi; Cornelia Huck; > Varun Sethi; Jani Kokkonen; Lingli Deng; Huangweidong (C) > Subject: Re: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device > spe

Re: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-28 Thread Michael S. Tsirkin
On Thu, Jul 28, 2016 at 05:28:33AM +, Zeng, Xin wrote: > On Thursday, July 28, 2016 10:51 AM Gonglei (Arei) Wrote: > > > > Changes from v4: > > > > - introduce crypto services into virtio crypto device. The services > > > >currently defined are CIPHER, MAC, HASH, AEAD, KDF, ASYM, > > > PR

Re: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-28 Thread Gonglei (Arei)
; Ola Liljedahl; > Keating, Brian A; Hanweidong (Randy); Luonengjun; Huangpeng (Peter); Griffin, > John; Ma, Liang J; Stefan Hajnoczi; Cornelia Huck; Varun Sethi; Jani Kokkonen; > Lingli Deng; Huangweidong (C) > Subject: RE: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto dev

Re: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-27 Thread Zeng, Xin
On Thursday, July 28, 2016 10:51 AM Gonglei (Arei) Wrote: > > > Changes from v4: > > > - introduce crypto services into virtio crypto device. The services > > >currently defined are CIPHER, MAC, HASH, AEAD, KDF, ASYM, > > PRIMITIVE. > > > - define a unified crypto request format that is cons

Re: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-27 Thread Gonglei (Arei)
ng Brian; Zeng Xin; Hanweidong (Randy); Luonengjun; Huangpeng (Peter); > Griffin John; Ma Liang J; Stefan Hajnoczi; Cornelia Huck; Varun Sethi; Jani > Kokkonen; Lingli Deng > Subject: Re: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device > specification > > On Wed, Jul 2

Re: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-27 Thread Michael S. Tsirkin
On Wed, Jul 27, 2016 at 06:08:23PM +0800, Gonglei wrote: > The virtio crypto device is a virtual crypto device (ie. hardware > crypto accelerator card). The virtio crypto device can provide > five crypto services: CIPHER, MAC, HASH, AEAD, KDF, ASYM, PRIMITIVE. > > In this patch, CIPHER, MAC, HASH,

[Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-27 Thread Gonglei
The virtio crypto device is a virtual crypto device (ie. hardware crypto accelerator card). The virtio crypto device can provide five crypto services: CIPHER, MAC, HASH, AEAD, KDF, ASYM, PRIMITIVE. In this patch, CIPHER, MAC, HASH, AEAD services are introduced. CC: Michael S. Tsirkin CC: Corneli