Searched refs:fec_size (Results 1 – 16 of 16) sorted by relevance
/system/extras/verity/fec/ |
D | image.cpp | 197 ctx->fec_size = ctx->rounds * ctx->roots * FEC_BLOCKSIZE; in image_ecc_new() 200 INFO("allocating %u bytes of memory\n", ctx->fec_size); in image_ecc_new() 203 ctx->fec = new uint8_t[ctx->fec_size]; in image_ecc_new() 206 FATAL("failed to allocate %u bytes\n", ctx->fec_size); in image_ecc_new() 254 if (p->fec_size % p->roots || p->fec_size % FEC_BLOCKSIZE) { in image_ecc_load() 255 FATAL("invalid length in '%s': %u\n", filename.c_str(), p->fec_size); in image_ecc_load() 267 if (p->fec_size != ctx->fec_size) { in image_ecc_load() 275 if (!android::base::ReadFully(fd, ctx->fec, ctx->fec_size)) { in image_ecc_load() 276 FATAL("failed to read %u bytes from '%s': %s\n", ctx->fec_size, in image_ecc_load() 283 SHA256(ctx->fec, ctx->fec_size, hash); in image_ecc_load() [all …]
|
D | image.h | 54 uint32_t fec_size; member
|
D | main.cpp | 197 INFO("\traw fec size: %u\n", ctx.fec_size); in encode() 246 INFO("\traw fec size: %u\n", ctx.fec_size); in decode()
|
/system/update_engine/payload_consumer/ |
D | verity_writer_android.cc | 44 if (partition_->hash_tree_size != 0 || partition_->fec_size != 0) { in Init() 101 if (partition_->fec_size != 0) { in Update() 110 partition_->fec_size, in Update() 123 uint64_t fec_size, in EncodeFEC() argument 132 TEST_AND_RETURN_FALSE(rounds * fec_roots * block_size == fec_size); in EncodeFEC()
|
D | verity_writer_stub.cc | 30 return partition.hash_tree_size == 0 && partition.fec_size == 0; in Init()
|
D | verity_writer_android.h | 47 uint64_t fec_size,
|
D | install_plan.h | 125 uint64_t fec_size{0};
|
D | verity_writer_android_unittest.cc | 105 partition_.fec_size = 2 * 4096; in TEST_F()
|
D | filesystem_verifier_action_unittest.cc | 301 part.fec_size = 2 * 4096; in TEST_F() 363 part.fec_size = 2 * 4096; in TEST_F()
|
D | filesystem_verifier_action.cc | 160 if (partition.fec_size != 0 && in ScheduleRead()
|
D | delta_performer.cc | 910 install_part.fec_size = extent.num_blocks() * block_size_; in ParseManifestPartitions()
|
/system/extras/libfec/ |
D | fec_open.cpp | 141 if (header.fec_size % header.roots || in parse_ecc_header() 142 header.fec_size % FEC_BLOCKSIZE) { in parse_ecc_header() 143 error("inconsistent ecc size %u", header.fec_size); in parse_ecc_header() 151 if (header.fec_size != in parse_ecc_header() 153 error("inconsistent ecc size %u", header.fec_size); in parse_ecc_header() 157 f->ecc.size = header.fec_size; in parse_ecc_header()
|
/system/core/fs_mgr/libfs_avb/tests/ |
D | fs_avb_util_test.cpp | 90 EXPECT_EQ(90112UL, hashtree_desc->fec_size); in TEST_F()
|
/system/update_engine/payload_generator/ |
D | payload_generation_config_android.cc | 69 hashtree.data_block_size, hashtree.fec_offset, hashtree.fec_size); in AvbDescriptorCallback() 212 ExtentForBytes(block_size, ecc_data.start, header->fec_size); in LoadVerityConfig()
|
/system/extras/libfec/include/fec/ |
D | io.h | 50 uint32_t fec_size; member
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_util.cpp | 82 if (hashtree_desc.fec_size > 0) { in ConstructVerityTable()
|