Searched refs:hash_size_ (Results 1 – 2 of 2) sorted by relevance
/system/extras/verity/ |
D | hash_tree_builder.cpp | 60 hash_size_ = 1; in HashTreeBuilder() 61 while (hash_size_ < hash_size_raw_) { in HashTreeBuilder() 62 hash_size_ = hash_size_ << 1; in HashTreeBuilder() 64 CHECK_LT(hash_size_ * 2, block_size_); in HashTreeBuilder() 127 verity_tree_blocks(data_size_, block_size_, hash_size_, 0); in Initialize() 134 zero_block_hash_.resize(hash_size_); in Initialize() 155 std::fill(out + s, out + hash_size_, 0); in HashBlock() 176 unsigned char hash_buffer[hash_size_]; in HashBlocks() 181 hash_buffer + hash_size_); in HashBlocks() 242 verity_tree_blocks(data_size_, block_size_, hash_size_, 0); in BuildHashTree() [all …]
|
/system/extras/verity/include/verity/ |
D | hash_tree_builder.h | 39 return CalculateSize(input_size, block_size_, hash_size_); in CalculateSize() 60 size_t hash_size() const { return hash_size_; } in hash_size() 98 size_t hash_size_; variable
|