Home
last modified time | relevance | path

Searched refs:hash_size_ (Results 1 – 2 of 2) sorted by relevance

/system/extras/verity/
Dhash_tree_builder.cpp56 hash_size_ = 1; in HashTreeBuilder()
57 while (hash_size_ < hash_size_raw_) { in HashTreeBuilder()
58 hash_size_ = hash_size_ << 1; in HashTreeBuilder()
60 CHECK_LT(hash_size_ * 2, block_size_); in HashTreeBuilder()
101 verity_tree_blocks(input_size, block_size_, hash_size_, levels); in CalculateSize()
122 verity_tree_blocks(data_size_, block_size_, hash_size_, 0); in Initialize()
129 zero_block_hash_.resize(hash_size_); in Initialize()
150 std::fill(out + s, out + hash_size_, 0); in HashBlock()
171 unsigned char hash_buffer[hash_size_]; in HashBlocks()
176 hash_buffer + hash_size_); in HashBlocks()
[all …]
/system/extras/verity/include/verity/
Dhash_tree_builder.h55 size_t hash_size() const { return hash_size_; } in hash_size()
93 size_t hash_size_; variable