Searched refs:VERITY_METADATA_SIZE (Results 1 – 3 of 3) sorted by relevance
459 check(f->data_size > VERITY_METADATA_SIZE); in rewrite_metadata()460 check(offset <= f->data_size - VERITY_METADATA_SIZE); in rewrite_metadata()463 new (std::nothrow) uint8_t[VERITY_METADATA_SIZE]); in rewrite_metadata()470 memset(metadata.get(), 0, VERITY_METADATA_SIZE); in rewrite_metadata()478 check(sizeof(v->header) + len <= VERITY_METADATA_SIZE); in rewrite_metadata()481 return raw_pwrite(f, metadata.get(), VERITY_METADATA_SIZE, offset); in rewrite_metadata()528 check(f->data_size > VERITY_METADATA_SIZE); in verity_parse_header()530 if (offset > f->data_size - VERITY_METADATA_SIZE) { in verity_parse_header()
47 #define VERITY_METADATA_SIZE (8 * FEC_BLOCKSIZE) macro50 #define VERITY_MAX_TABLE_SIZE (VERITY_METADATA_SIZE - sizeof(verity_header))
85 return VERITY_METADATA_SIZE + verity_get_size(size, NULL, NULL); in get_verity_size()316 uint64_t offset = f->data_size - VERITY_METADATA_SIZE; in load_verity()