Home
last modified time | relevance | path

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

/system/extras/libfec/
Dfec_verity.cpp446 if (v->metadata_start < hash_start) { in parse_table()
447 check(data_blocks == v->metadata_start / FEC_BLOCKSIZE); in parse_table()
602 v->metadata_start = offset; in verity_parse_header()
618 if (v->metadata_start < v->hashtree.hash_start) { in verity_parse_header()
619 f->data_size = v->metadata_start; in verity_parse_header()
639 if (!v->metadata_start) { in fec_verity_set_status()
651 if (!raw_pwrite(f->fd, &magic, sizeof(magic), v->metadata_start)) { in fec_verity_set_status()
Dfec_private.h121 uint64_t metadata_start; /* offset in file */ member
Dfec_open.cpp436 if (!f->verity.metadata_start) { in fec_verity_get_metadata()
442 check(f->data_size <= f->verity.metadata_start); in fec_verity_get_metadata()
/system/extras/libfec/test/
Dfec_unittest.cpp141 handle->verity.metadata_start); in TEST_F()
175 handle->verity.metadata_start); in TEST_F()
186 ASSERT_EQ(handle->verity.metadata_start + 8 * 4096, ecc_metadata.start); in TEST_F()