Skip to content

Change QEMU crypto hash implementation

Daniel P. Berrange qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2crypto: switch hash code to use nettle/gcrypt directlyconfigure crypto/Makefile.objs crypto/hash-gcrypt.c +5 more+299 -1220 replies
2/2crypto: implement sha224, sha384, sha512 and ripemd160 hashescrypto/hash-gcrypt.c crypto/hash-nettle.c crypto/hash.c +2 more+71 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] Change QEMU crypto hash implementation

This series changes the QEMU crypto hash implementation to use gcrypt/nettle directly instead of using gnutls abstraction. This then lets us support several more hash algorithms that gnutls does not expose itself. This is useful for LUKS block driver compatibility with dm-crypt.

Daniel P. Berrange (2):
crypto: switch hash code to use nettle/gcrypt directly
crypto: implement sha224, sha384, sha512 and ripemd160 hashes

 configure                |  14 -----
 crypto/Makefile.objs     |   3 +
 crypto/hash-gcrypt.c     | 110 +++++++++++++++++++++++++++++++++
 crypto/hash-nettle.c     | 155 +++++++++++++++++++++++++++++++++++++++++++++++
 crypto/hash-stub.c       |  41 +++++++++++++
 crypto/hash.c            | 109 ++-------------------------------
 qapi/crypto.json         |   6 +-
 tests/Makefile           |   2 +-
 tests/test-crypto-hash.c |  53 +++++++++++++++-
 9 files changed, 370 insertions(+), 123 deletions(-)
 create mode 100644 crypto/hash-gcrypt.c
 create mode 100644 crypto/hash-nettle.c
 create mode 100644 crypto/hash-stub.c
Signature · 1 line
2.5.5