summaryrefslogtreecommitdiff
path: root/nix/libutil/sha512.h
Commit message (Expand)AuthorAgeFilesLines
* daemon: Remove OpenSSL hash compatibility wrappers.•••* nix/libutil/hash.cc (struct Ctx): Copy from gcrypt-hash.hh. (start, update, finish): Use gcrypt functions directly instead of OpenSSL-like wrappers. * nix/libutil/gcrypt-hash.cc, nix/libutil/gcrypt-hash.hh, nix/libutil/md5.h, nix/libutil/sha1.h, nix/libutil/sha256.h, nix/libutil/sha512.h: Remove. * nix/local.mk (libutil_a_SOURCES, libutil_headers): Adjust accordingly. Ludovic Courtès2020-06-271-35/+0
* daemon: Support SHA-512 hashes.•••Fixes #679. Note: on x86_64, SHA-512 is considerably faster than SHA-256 (198 MB/s versus 131 MB/s). Co-authored-by: Ludovic Courtès <ludo@gnu.org> Eelco Dolstra2015-12-021-0/+35