• D
    crypto: switch hash code to use nettle/gcrypt directly · 0c16c056
    Daniel P. Berrange 提交于
    Currently the internal hash code is using the gnutls hash APIs.
    GNUTLS in turn is wrapping either nettle or gcrypt. Not only
    were the GNUTLS hash APIs not added until GNUTLS 2.9.10, but
    they don't expose support for all the algorithms QEMU needs
    to use with LUKS.
    
    Address this by directly wrapping nettle/gcrypt in QEMU and
    avoiding GNUTLS's extra layer of indirection. This gives us
    support for hash functions on a much wider range of platforms
    and opens up ability to support more hash functions. It also
    avoids a GNUTLS bug which would not correctly handle hashing
    of large data blocks if int != size_t.
    Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
    0c16c056
Makefile.objs 1.0 KB