Home
last modified time | relevance | path

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

/system/extras/libfec/
Dfec_verity.cpp200 check(v->hash_start < UINT64_MAX - v->hash_size); in verify_tree()
201 check(v->hash_start + v->hash_size <= f->data_size); in verify_tree()
203 uint64_t hash_offset = v->hash_start; in verify_tree()
388 &v->hash_start) == -1) { in parse_table()
393 v->hash_start *= FEC_BLOCKSIZE; in parse_table()
435 check(v->hash_start < f->data_size); in parse_table()
437 if (v->metadata_start < v->hash_start) { in parse_table()
440 check(v->data_blocks == v->hash_start / FEC_BLOCKSIZE); in parse_table()
627 if (v->metadata_start < v->hash_start) { in verity_parse_header()
630 f->data_size = v->hash_start; in verity_parse_header()
Dfec_open.cpp315 f->verity.hash_start); in load_verity()
325 f->verity.hash_start); in load_verity()
338 f->verity.hash_start); in load_verity()
451 check(f->data_size <= f->verity.hash_start); in fec_verity_get_metadata()
Dfec_private.h83 uint64_t hash_start; member