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()
378 &v->hash_start) == -1) { in parse_table()
383 v->hash_start *= FEC_BLOCKSIZE; in parse_table()
425 check(v->hash_start < f->data_size); in parse_table()
427 if (v->metadata_start < v->hash_start) { in parse_table()
430 check(v->data_blocks == v->hash_start / FEC_BLOCKSIZE); in parse_table()
603 if (v->metadata_start < v->hash_start) { in verity_parse_header()
606 f->data_size = v->hash_start; in verity_parse_header()
Dfec_open.cpp321 f->verity.hash_start); in load_verity()
331 f->verity.hash_start); in load_verity()
344 f->verity.hash_start); in load_verity()
457 check(f->data_size <= f->verity.hash_start); in fec_verity_get_metadata()
Dfec_private.h83 uint64_t hash_start; member