Searched refs:VERITY_METADATA_SIZE (Results 1 – 3 of 3) sorted by relevance
480 check(f->data_size > VERITY_METADATA_SIZE); in rewrite_metadata()481 check(offset <= f->data_size - VERITY_METADATA_SIZE); in rewrite_metadata()484 new (std::nothrow) uint8_t[VERITY_METADATA_SIZE]); in rewrite_metadata()491 memset(metadata.get(), 0, VERITY_METADATA_SIZE); in rewrite_metadata()499 check(sizeof(v->header) + len <= VERITY_METADATA_SIZE); in rewrite_metadata()502 return raw_pwrite(f, metadata.get(), VERITY_METADATA_SIZE, offset); in rewrite_metadata()549 check(f->data_size > VERITY_METADATA_SIZE); in verity_parse_header()551 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))
86 return VERITY_METADATA_SIZE + verity_get_size(size, NULL, NULL); in get_verity_size()310 uint64_t offset = f->data_size - VERITY_METADATA_SIZE; in load_verity()