[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v1 0/2] Use GChecksum as fallback hash impl
From: |
Daniel P. Berrange |
Subject: |
[Qemu-block] [PATCH v1 0/2] Use GChecksum as fallback hash impl |
Date: |
Tue, 5 Jul 2016 11:49:58 +0100 |
This uses the GChecksum APIs as final hash impl, instead of
a no-op stub. This lets us remove conditional registration
of the quorum driver.
Daniel P. Berrange (2):
crypto: use glib as fallback for hash algorithm
Revert "block: don't register quorum driver if SHA256 support is
unavailable"
block/quorum.c | 10 +++---
crypto/Makefile.objs | 2 +-
crypto/hash-glib.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++
crypto/hash-stub.c | 41 -----------------------
4 files changed, 101 insertions(+), 46 deletions(-)
create mode 100644 crypto/hash-glib.c
delete mode 100644 crypto/hash-stub.c
--
2.7.4