Ludovic Courtès 3fb6b8f304
daemon: Map directly to gcrypt hash functions.
* nix/libutil/hash.hh (HashType): Map directly to GCRY_MD_ values.
(md5HashSize, sha1HashSize, sha256HashSize, sha512HashSize): Remove.
* nix/libutil/hash.cc (Hash::Hash): Use 'gcry_md_get_algo_dlen'.
2020-06-27 23:42:20 +02:00
..
2014-12-19 22:47:37 +01:00
2014-12-19 22:47:37 +01:00
2013-01-06 00:47:50 +01:00
2015-05-19 16:09:58 +02:00
2015-05-19 16:09:58 +02:00
2013-01-06 00:47:50 +01:00
2013-01-06 00:47:50 +01:00
2015-12-02 19:37:59 +02:00
2015-05-19 16:09:58 +02:00
2020-03-26 12:59:33 +01:00