Searched refs:fec (Results 1 – 16 of 16) sorted by relevance
/system/update_engine/payload_consumer/ |
D | verity_writer_android.cc | 169 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()
|
D | fec_file_descriptor.h | 59 fec::io fh_;
|
/system/extras/verity/fec/tests/ |
D | fec.py | 44 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/ |
D | image.cpp | 59 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()
|
D | Android.bp | 2 name: "fec",
|
D | main.cpp | 54 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()
|
D | image.h | 61 uint8_t *fec; member
|
/system/extras/libfec/test/ |
D | test_read.cpp | 40 fec::io input(argv[1]); in main()
|
/system/extras/libfec/ |
D | Android.bp | 15 // Exported header include/fec/io.h includes crypto_utils headers.
|
D | fec_open.cpp | 524 fec::handle f(new (std::nothrow) fec_handle, fec_close); in fec_open()
|
/system/extras/verity/ |
D | verity_verifier.cpp | 102 fec::io input(tf.path); in main()
|
/system/apex/apexer/ |
D | Android.bp | 28 "fec",
|
/system/extras/libfec/include/fec/ |
D | io.h | 119 namespace fec {
|
/system/core/adb/daemon/ |
D | set_verity_enable_state_service.cpp | 74 fec::io fh(block_device, O_RDWR); in set_verity_enabled_state()
|
/system/update_engine/payload_generator/ |
D | payload_generation_config_android.cc | 170 fec::io fh(part.path, O_RDONLY, FEC_VERITY_DISABLE); in LoadVerityConfig()
|
/system/core/fs_mgr/ |
D | fs_mgr_remount.cpp | 278 fec::io fh(entry.blk_device.c_str(), O_RDWR); in main()
|