Searched refs:fec (Results 1 – 11 of 11) sorted by relevance
/system/extras/verity/fec/ |
D | Android.mk | 8 LOCAL_MODULE := fec 21 LOCAL_C_INCLUDES += external/fec 27 LOCAL_MODULE := fec 40 LOCAL_C_INCLUDES += external/fec
|
D | image.cpp | 79 if (ctx->fec) { in file_image_free() 80 delete[] ctx->fec; in file_image_free() 370 ctx->fec = ctx->fec_mmap_addr; in mmap_image_ecc_new() 379 ctx->fec = new uint8_t[ctx->fec_size]; in file_image_ecc_new() 381 if (!ctx->fec) { in file_image_ecc_new() 465 if (!ctx->mmap && !android::base::ReadFully(fd, ctx->fec, ctx->fec_size)) { in image_ecc_load() 473 SHA256(ctx->fec, ctx->fec_size, hash); in image_ecc_load() 504 SHA256(ctx->fec, ctx->fec_size, f->hash); in image_ecc_save() 520 if (!android::base::WriteFully(fd, ctx->fec, ctx->fec_size) || in image_ecc_save()
|
D | main.cpp | 55 encode_rs_char(ctx->rs, data, &fcx->fec[ctx->fec_pos]); in encode_rs() 74 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 | 62 uint8_t *fec; member
|
/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/libfec/test/ |
D | Android.mk | 29 LOCAL_C_INCLUDES += external/fec
|
D | test_read.cpp | 40 fec::io input(argv[1]); in main()
|
/system/extras/libfec/ |
D | Android.mk | 9 external/fec \
|
D | fec_open.cpp | 532 fec::handle f(new (std::nothrow) fec_handle, fec_close); in fec_open()
|
/system/core/adb/ |
D | set_verity_enable_state_service.cpp | 55 fec::io fh(block_device, O_RDWR); in set_verity_enabled_state()
|
/system/extras/libfec/include/fec/ |
D | io.h | 118 namespace fec {
|