Home
last modified time | relevance | path

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

/system/extras/libfec/
Dfec_verity.cpp247 uint32_t hash_data_blocks = 0; in verify_tree() local
254 hash_data_blocks = blocks; in verify_tree()
259 check(hash_data_blocks); in verify_tree()
260 check(hash_data_blocks <= hash_size / FEC_BLOCKSIZE); in verify_tree()
263 check(hash_data_offset <= UINT64_MAX - (hash_data_blocks * FEC_BLOCKSIZE)); in verify_tree()
265 check(hash_data_offset + hash_data_blocks * FEC_BLOCKSIZE <= f->data_size); in verify_tree()
269 std::vector<uint8_t> data_hashes(hash_data_blocks * FEC_BLOCKSIZE, 0); in verify_tree()
316 if (blocks == hash_data_blocks) { in verify_tree()