Searched refs:fec (Results 1 – 12 of 12) sorted by relevance
/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 | Android.mk | 8 LOCAL_MODULE := fec 22 LOCAL_C_INCLUDES += external/fec
|
D | image.cpp | 60 if (ctx->fec) { in image_free() 61 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 | 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() 146 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 | Android.mk | 30 LOCAL_C_INCLUDES += external/fec
|
D | test_read.cpp | 40 fec::io input(argv[1]); in main()
|
/system/extras/libfec/ |
D | Android.bp | 14 // Exported header include/fec/io.h includes crypto_utils headers.
|
D | fec_open.cpp | 526 fec::handle f(new (std::nothrow) fec_handle, fec_close); in fec_open()
|
/system/extras/verity/ |
D | verity_verifier.cpp | 103 fec::io input(tf.path); in main()
|
/system/core/adb/ |
D | set_verity_enable_state_service.cpp | 57 fec::io fh(block_device, O_RDWR); in set_verity_enabled_state()
|
/system/extras/libfec/include/fec/ |
D | io.h | 119 namespace fec {
|