Home
last modified time | relevance | path

Searched refs:fec (Results 1 – 16 of 16) sorted by relevance

/system/update_engine/payload_consumer/
Dverity_writer_android.cc169 brillo::Blob fec(block_size * fec_roots); in EncodeFEC() local
175 fec.data() + j * fec_roots); in EncodeFEC()
179 brillo::Blob fec_read(fec.size()); in EncodeFEC()
185 TEST_AND_RETURN_FALSE(fec == fec_read); in EncodeFEC()
188 utils::PWriteAll(fd, fec.data(), fec.size(), fec_offset)); in EncodeFEC()
190 fec_offset += fec.size(); in EncodeFEC()
Dfec_file_descriptor.h59 fec::io fh_;
/system/extras/verity/fec/tests/
Dfec.py44 def encode(image, fec, roots): argument
45 if subprocess.call([ "fec", "--roots= " + str(roots), image, fec ]) != 0:
48 def decode(image, fec, output): argument
49 return subprocess.call([ "fec", "--decode", image, fec, output ])
/system/extras/verity/fec/
Dimage.cpp59 if (ctx->fec) { in image_free()
60 delete[] ctx->fec; in image_free()
203 ctx->fec = new uint8_t[ctx->fec_size]; in image_ecc_new()
205 if (!ctx->fec) { in image_ecc_new()
275 if (!android::base::ReadFully(fd, ctx->fec, ctx->fec_size)) { in image_ecc_load()
283 SHA256(ctx->fec, ctx->fec_size, hash); in image_ecc_load()
307 SHA256(ctx->fec, ctx->fec_size, f->hash); in image_ecc_save()
323 if (!android::base::WriteFully(fd, ctx->fec, ctx->fec_size)) { in image_ecc_save()
DAndroid.bp2 name: "fec",
Dmain.cpp54 encode_rs_char(ctx->rs, data, &fcx->fec[ctx->fec_pos]); in encode_rs()
73 memcpy(&data[fcx->rs_n], &fcx->fec[ctx->fec_pos], fcx->roots); in decode_rs()
145 fec::io fh(filename, O_RDONLY, FEC_VERITY_DISABLE); in get_start()
Dimage.h61 uint8_t *fec; member
/system/extras/libfec/test/
Dtest_read.cpp40 fec::io input(argv[1]); in main()
/system/extras/libfec/
DAndroid.bp15 // Exported header include/fec/io.h includes crypto_utils headers.
Dfec_open.cpp524 fec::handle f(new (std::nothrow) fec_handle, fec_close); in fec_open()
/system/extras/verity/
Dverity_verifier.cpp102 fec::io input(tf.path); in main()
/system/apex/apexer/
DAndroid.bp28 "fec",
/system/extras/libfec/include/fec/
Dio.h119 namespace fec {
/system/core/adb/daemon/
Dset_verity_enable_state_service.cpp74 fec::io fh(block_device, O_RDWR); in set_verity_enabled_state()
/system/update_engine/payload_generator/
Dpayload_generation_config_android.cc170 fec::io fh(part.path, O_RDONLY, FEC_VERITY_DISABLE); in LoadVerityConfig()
/system/core/fs_mgr/
Dfs_mgr_remount.cpp278 fec::io fh(entry.blk_device.c_str(), O_RDWR); in main()