Home
last modified time | relevance | path

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

/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/
DAndroid.mk8 LOCAL_MODULE := fec
22 LOCAL_C_INCLUDES += external/fec
Dimage.cpp60 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()
Dmain.cpp55 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()
Dimage.h61 uint8_t *fec; member
/system/extras/libfec/test/
DAndroid.mk30 LOCAL_C_INCLUDES += external/fec
Dtest_read.cpp40 fec::io input(argv[1]); in main()
/system/extras/libfec/
DAndroid.bp14 // Exported header include/fec/io.h includes crypto_utils headers.
Dfec_open.cpp526 fec::handle f(new (std::nothrow) fec_handle, fec_close); in fec_open()
/system/extras/verity/
Dverity_verifier.cpp103 fec::io input(tf.path); in main()
/system/core/adb/
Dset_verity_enable_state_service.cpp57 fec::io fh(block_device, O_RDWR); in set_verity_enabled_state()
/system/extras/libfec/include/fec/
Dio.h119 namespace fec {