Searched refs:ShaHasher (Results 1 – 1 of 1) sorted by relevance
70 class ShaHasher { class74 ShaHasher(uint32_t digest_size) : digest_size_(digest_size) {} in ShaHasher() function in ShaHasher77 virtual ~ShaHasher() {} in ~ShaHasher()87 class ShaHasherImpl : public ShaHasher {100 : ShaHasher(digest_size), in ShaHasherImpl()127 static std::unique_ptr<ShaHasher> CreateShaHasher( in CreateShaHasher()145 static bool CalculateZeroDigest(const ShaHasher &hasher, size_t size, in CalculateZeroDigest()218 const ShaHasher &hasher, in VerifyHashtree()469 std::unique_ptr<ShaHasher> hasher = CreateShaHasher(hash_algorithm); in TEST()