Re: [Qemu-devel] [PATCH for-2.8] virtio-crypto: zeroize the key material before free

2016-12-06 Thread Gonglei (Arei)
> > From: Stefan Hajnoczi [mailto:stefa...@gmail.com] > Sent: Wednesday, December 07, 2016 4:18 AM > To: Eric Blake > Cc: Michael S. Tsirkin; Gonglei (Arei); qemu-devel@nongnu.org; Daniel P. > Berrange > Subject: Re: [Qemu-devel] [PATCH for-2.8] virtio-crypto: zeroize the

Re: [Qemu-devel] [PATCH for-2.8] virtio-crypto: zeroize the key material before free

2016-12-06 Thread Stefan Hajnoczi
On Tue, Dec 06, 2016 at 01:30:12PM -0600, Eric Blake wrote: > On 12/06/2016 01:22 PM, Michael S. Tsirkin wrote: > > On Tue, Dec 06, 2016 at 05:33:37PM +, Stefan Hajnoczi wrote: > >> On Tue, Dec 06, 2016 at 03:40:49PM +0200, Michael S. Tsirkin wrote: > >>> On Tue, Dec 06, 2016 at 05:29:13PM +080

Re: [Qemu-devel] [PATCH for-2.8] virtio-crypto: zeroize the key material before free

2016-12-06 Thread Eric Blake
On 12/06/2016 01:22 PM, Michael S. Tsirkin wrote: > On Tue, Dec 06, 2016 at 05:33:37PM +, Stefan Hajnoczi wrote: >> On Tue, Dec 06, 2016 at 03:40:49PM +0200, Michael S. Tsirkin wrote: >>> On Tue, Dec 06, 2016 at 05:29:13PM +0800, Gonglei wrote: Zeroize the memory of CryptoDevBackendSymOpIn

Re: [Qemu-devel] [PATCH for-2.8] virtio-crypto: zeroize the key material before free

2016-12-06 Thread Michael S. Tsirkin
On Tue, Dec 06, 2016 at 05:33:37PM +, Stefan Hajnoczi wrote: > On Tue, Dec 06, 2016 at 03:40:49PM +0200, Michael S. Tsirkin wrote: > > On Tue, Dec 06, 2016 at 05:29:13PM +0800, Gonglei wrote: > > > Zeroize the memory of CryptoDevBackendSymOpInfo structure pointed > > > for key material security

Re: [Qemu-devel] [PATCH for-2.8] virtio-crypto: zeroize the key material before free

2016-12-06 Thread Stefan Hajnoczi
On Tue, Dec 06, 2016 at 03:40:49PM +0200, Michael S. Tsirkin wrote: > On Tue, Dec 06, 2016 at 05:29:13PM +0800, Gonglei wrote: > > Zeroize the memory of CryptoDevBackendSymOpInfo structure pointed > > for key material security. > > > > Signed-off-by: Gonglei > > --- > > hw/virtio/virtio-crypto.c

Re: [Qemu-devel] [PATCH for-2.8] virtio-crypto: zeroize the key material before free

2016-12-06 Thread Michael S. Tsirkin
On Tue, Dec 06, 2016 at 05:29:13PM +0800, Gonglei wrote: > Zeroize the memory of CryptoDevBackendSymOpInfo structure pointed > for key material security. > > Signed-off-by: Gonglei > --- > hw/virtio/virtio-crypto.c | 13 - > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff -

[Qemu-devel] [PATCH for-2.8] virtio-crypto: zeroize the key material before free

2016-12-06 Thread Gonglei
Zeroize the memory of CryptoDevBackendSymOpInfo structure pointed for key material security. Signed-off-by: Gonglei --- hw/virtio/virtio-crypto.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/hw/virtio/virtio-crypto.c b/hw/virtio/virtio-crypto.c index 2f2467e.