Re: [Qemu-devel] [PATCH v3 01/18] crypto: cipher: introduce context free function

2017-04-26 Thread Daniel P. Berrange
On Sat, Apr 22, 2017 at 03:20:10PM +0800, Longpeng(Mike) wrote: > Refactors the qcrypto_cipher_free(), splits it into two parts. One > is gcrypt/nettle__cipher_free_ctx() to free the special context. > > This makes code more clear, what's more, it would be used by the > later patch. > > Reviewed-

[Qemu-devel] [PATCH v3 01/18] crypto: cipher: introduce context free function

2017-04-22 Thread Longpeng(Mike)
Refactors the qcrypto_cipher_free(), splits it into two parts. One is gcrypt/nettle__cipher_free_ctx() to free the special context. This makes code more clear, what's more, it would be used by the later patch. Reviewed-by: Gonglei Signed-off-by: Longpeng(Mike) --- crypto/cipher-gcrypt.c | 31 +