Home
last modified time | relevance | path

Searched refs:htSHA1 (Results 1 – 3 of 3) sorted by relevance

/dports/sysutils/nix/nix-2.3.10/src/libutil/
H A Dhash.cc22 else if (type == htSHA1) hashSize = sha1HashSize; in init()
221 else if (ht == htSHA1) SHA1_Init(&ctx.sha1); in start()
231 else if (ht == htSHA1) SHA1_Update(&ctx.sha1, bytes, len); in update()
240 else if (ht == htSHA1) SHA1_Final(hash, &ctx.sha1); in finish()
338 else if (s == "sha1") return htSHA1; in parseHashType()
348 else if (ht == htSHA1) return "sha1"; in printHashType()
H A Dhash.hh13 enum HashType : char { htUnknown, htMD5, htSHA1, htSHA256, htSHA512 }; enumerator
/dports/sysutils/nix/nix-2.3.10/src/libstore/
H A Dgc.cc81 string hash = hashString(htSHA1, path).to_string(Base32, false); in addIndirectRoot()