OSDN Git Service

libfec: correct verity table only if it's invalid
authorSami Tolvanen <samitolvanen@google.com>
Wed, 19 Oct 2016 22:58:13 +0000 (15:58 -0700)
committerSami Tolvanen <samitolvanen@google.com>
Thu, 20 Oct 2016 16:22:49 +0000 (09:22 -0700)
commitb5afa97f093e0b87614cb9e96a754f7c0e169c4f
tree83168b6fbc24b0b93f50219dd7b5be0abd940ea1
parentb003c9c9ebf6aafd759f3dd7d19515d18f4a0180
libfec: correct verity table only if it's invalid

To increase reliability in the case where part of the partition is
corrupt and error correction might fail, attempt to use raw verity
table before the corrected one.

Bug: 32288104
Test: tested on angler
Change-Id: I201fdc6162c87b1808979486df5707d683a6d20c
libfec/fec_verity.cpp