Searched refs:htSHA1 (Results 1 – 3 of 3) sorted by relevance
22 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()
13 enum HashType : char { htUnknown, htMD5, htSHA1, htSHA256, htSHA512 }; enumerator
81 string hash = hashString(htSHA1, path).to_string(Base32, false); in addIndirectRoot()