Re: [Qemu-devel] [PATCH v2 for-2.10 06/18] crypto: hash: add hash driver framework

2017-04-21 Thread Gonglei (Arei)
> -Original Message- > From: longpeng > Sent: Monday, April 17, 2017 9:33 AM > To: berra...@redhat.com > Cc: Gonglei (Arei); Huangweidong (C); arm...@redhat.com; > ebl...@redhat.com; m...@redhat.com; qemu-devel@nongnu.org; longpeng > Subject: [PATCH v2 for-2.10 06/18] crypto: hash: add has

[Qemu-devel] [PATCH v2 for-2.10 06/18] crypto: hash: add hash driver framework

2017-04-16 Thread Longpeng(Mike)
1) makes the public APIs in hash-nettle/gcrypt/glib static, and rename them with "nettle/gcrypt/glib" prefix. 2) introduces hash framework, including QCryptoHashDriver and new public APIs. Signed-off-by: Longpeng(Mike) --- crypto/hash-gcrypt.c | 19 +-- crypto/hash-glib.c