]> git.proxmox.com Git - mirror_qemu.git/commit - crypto/hash-gcrypt.c
crypto: hash: add hash driver framework
authorLongpeng(Mike) <longpeng2@huawei.com>
Fri, 14 Jul 2017 18:03:59 +0000 (14:03 -0400)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 19 Jul 2017 09:11:04 +0000 (10:11 +0100)
commitaa8efad903a7594dbd9f96b9804c028f28fc8f8e
treead25e0f62228c07defeea412dd5f3dd3707d9ecc
parent75c800780919e389e6c272d84b31a33ec348ff79
crypto: hash: add hash driver framework

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.

Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
crypto/hash-gcrypt.c
crypto/hash-glib.c
crypto/hash-nettle.c
crypto/hash.c
crypto/hashpriv.h [new file with mode: 0644]