Home
last modified time | relevance | path

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

/system/extras/libfec/
Dfec_verity.cpp236 v->hash_data_blocks = blocks; in verify_tree()
241 check(v->hash_data_blocks); in verify_tree()
242 check(v->hash_data_blocks <= v->hash_size / FEC_BLOCKSIZE); in verify_tree()
246 UINT64_MAX - (v->hash_data_blocks * FEC_BLOCKSIZE)); in verify_tree()
248 check(v->hash_data_offset + v->hash_data_blocks * FEC_BLOCKSIZE <= in verify_tree()
254 new (std::nothrow) uint8_t[f->verity.hash_data_blocks * FEC_BLOCKSIZE]); in verify_tree()
303 if (blocks == v->hash_data_blocks) { in verify_tree()
Dfec_private.h80 uint32_t hash_data_blocks; member
Dfec_read.cpp96 v->hash_data_blocks * FEC_BLOCKSIZE - SHA256_DIGEST_LENGTH)) { in is_zero()
307 uint64_t max_hash_block = (f->verity.hash_data_blocks * FEC_BLOCKSIZE - in verity_read()