From 29d3242e5c428d3b0e8dc9db1c81cd4053e5271c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 4 Nov 2015 16:31:06 +0100 Subject: daemon: Support SHA-512 hashes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- daemon.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'daemon.am') diff --git a/daemon.am b/daemon.am index f75eef2e98..ca272a9cb6 100644 --- a/daemon.am +++ b/daemon.am @@ -69,7 +69,8 @@ libutil_headers = \ nix/libutil/gcrypt-hash.hh \ nix/libutil/md5.h \ nix/libutil/sha1.h \ - nix/libutil/sha256.h + nix/libutil/sha256.h \ + nix/libutil/sha512.h libutil_a_CPPFLAGS = \ -I$(top_builddir)/nix \ -- cgit v1.2.3