Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | daemon: Remove OpenSSL hash compatibility wrappers. | Ludovic Courtès | 2020-06-27 |
| | | | | | | | | | | | * 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. | ||
* | daemon: Support SHA-512 hashes. | Eelco Dolstra | 2015-12-02 |
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> |