Lines Matching refs:HashTreeBuilder
32 const EVP_MD* HashTreeBuilder::HashFunction(const std::string& hash_name) { in HashFunction()
53 HashTreeBuilder::HashTreeBuilder(size_t block_size, const EVP_MD* md) in HashTreeBuilder() function in HashTreeBuilder
67 std::string HashTreeBuilder::BytesArrayToString( in BytesArrayToString()
76 bool HashTreeBuilder::ParseBytesArrayFromString( in ParseBytesArrayFromString()
99 uint64_t HashTreeBuilder::CalculateSize( in CalculateSize()
114 bool HashTreeBuilder::Initialize(int64_t expected_data_size, in Initialize()
140 bool HashTreeBuilder::HashBlock(const unsigned char* block, in HashBlock()
160 bool HashTreeBuilder::HashBlocks(const unsigned char* data, size_t len, in HashBlocks()
187 bool HashTreeBuilder::Update(const unsigned char* data, size_t len) { in Update()
221 bool HashTreeBuilder::CalculateRootDigest(const std::vector<unsigned char>& root_verity, in CalculateRootDigest()
229 bool HashTreeBuilder::BuildHashTree() { in BuildHashTree()
266 bool HashTreeBuilder::CheckHashTree( in CheckHashTree()
294 bool HashTreeBuilder::WriteHashTreeToFile(const std::string& output) const { in WriteHashTreeToFile()
305 bool HashTreeBuilder::WriteHashTree( in WriteHashTree()
321 bool HashTreeBuilder::WriteHashTreeToFd(int fd, uint64_t offset) const { in WriteHashTreeToFd()
334 void HashTreeBuilder::AppendPaddings(std::vector<unsigned char>* data) { in AppendPaddings()