Searched refs:ShaHasher (Results 1 – 1 of 1) sorted by relevance
71 class ShaHasher { class75 ShaHasher(uint32_t digest_size) : digest_size_(digest_size) {} in ShaHasher() function in ShaHasher78 virtual ~ShaHasher() {} in ~ShaHasher()88 class ShaHasherImpl : public ShaHasher {101 : ShaHasher(digest_size), in ShaHasherImpl()128 static std::unique_ptr<ShaHasher> CreateShaHasher( in CreateShaHasher()146 static bool CalculateZeroDigest(const ShaHasher &hasher, size_t size, in CalculateZeroDigest()219 const ShaHasher &hasher, in VerifyHashtree()506 std::unique_ptr<ShaHasher> hasher = CreateShaHasher(hash_algorithm); in TEST()560 std::unique_ptr<ShaHasher> hasher = CreateShaHasher(hash_algorithm); in TEST()