History log of /system/extras/libfec/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
65cbaeb020b209f3d75d594ebbe49a609dd3c7e7 03-Jun-2016 Sami Tolvanen <samitolvanen@google.com> libfec: return raw and corrected verity metadata signatures

Since it's not possible for libfec to identify whether the signature
field was successfully corrected, return both and allow the caller to
validate either signature.

Bug: 28943429
Change-Id: Ie913c21ba1d07d6df4c6feeb7226b2ec963f4d19
ec_open.cpp
ec_private.h
ec_verity.cpp
nclude/fec/io.h
3c52529f5322e114983999e09689c9b93ca26eb7 18-Jan-2016 Sami Tolvanen <samitolvanen@google.com> libfec: fix back-up header validation

If the primary fec_header is invalid, correctly validate the
back-up header even if it's not at the beginning of a block.

Change-Id: Ida15e6eeb08f3d50d4e096897ccc814c0949e8f8
ec_open.cpp
e9677cc6a7487093d3af11e14d0240b659ebd3be 17-Dec-2015 Sami Tolvanen <samitolvanen@google.com> libfec: handle IO errors

Treat IO errors as corruption and attempt to recover instead of
instantly failing.

Change-Id: I5abbe9a95d654c636ce013e3c0928e170a0e2c66
ec_read.cpp
66dd09e8e2407082ce93bf0784de641298131912 04-Dec-2015 Elliott Hughes <enh@google.com> Track rename from base/ to android-base/.

Change-Id: Ic15d4778c7accd1382de0b440a437aba2cf67016
ec_verity.cpp
dadd5e33ac00df9a57114487f8441a59fd08bd89 29-Oct-2015 Sami Tolvanen <samitolvanen@google.com> libfec: remove verity validation cache

Caching block validation results increases libfec memory usage and
does not provide comparable benefits in normal use cases, which do
not involve re-reading the same blocks.

Change-Id: I71ac47a7059b350b16e32207932004f3f147abcb
ec_private.h
ec_read.cpp
ec_verity.cpp
83cda15b15269721aa4c5680af2fc33ffd30dfa3 20-Oct-2015 Sami Tolvanen <samitolvanen@google.com> libfec: add a function to disable verity

Add fec_verity_set_status to allow disabling verity on userdebug
builds by updating metadata magic.

Change-Id: I02f83b0d1d4e7ef5cd5d13a37ff0b84f17e23376
ec_verity.cpp
nclude/fec/io.h
8dd6f01ecf874ae732d912d108afc56afb0c9912 02-Oct-2015 Sami Tolvanen <samitolvanen@google.com> Add NOTICE files

Bug: 24571219
Change-Id: Ib7a4374974c2d0d9225caa1e43d0b78251a36bd2
OTICE
0403024cd6763fff3a0118b15e68c0f7fe4766d5 28-Sep-2015 Sami Tolvanen <samitolvanen@google.com> fec: enable building on Mac

Enable the host libfec and the fec tool to be built on Mac with the
help of <utils/Compat.h>.

Change-Id: I5e7c9fac11f4a00814bad92734e703ec8dc22dc9
ndroid.mk
ec_open.cpp
ec_private.h
48d7450fce51ceb6a1107685bd428774d985bcd0 28-Sep-2015 Sami Tolvanen <samitolvanen@google.com> libfec: fix Mac build

Exclude the host library and executables on Mac.

Change-Id: Ie399b83f3678d16aac67ce9a4414344a93f90055
ndroid.mk
est/Android.mk
c54a33db7505976a3530aa76ebd5602f12923c4d 26-Jun-2015 Sami Tolvanen <samitolvanen@google.com> Error correction: Add libfec to read encoded data

Add libfec to read files or partitions with error-correcting codes
appended to them. Uses verity metadata to speed up I/O and improve
error correction effectiveness.

Bug: 21893453
Change-Id: I94b95058b084418019fc96595bb6055df36e2c2b
ndroid.mk
ec_open.cpp
ec_private.h
ec_process.cpp
ec_read.cpp
ec_verity.cpp
nclude/fec/ecc.h
nclude/fec/io.h
est/Android.mk
est/test_read.cpp
est/test_rs.c