authfs: Implement VerifiedFileEditor

VerifiedFileEditor is a logical file writer + reader that maintains
content integrity by leveraging MerkleLeaves in private memory. The
implementation manages the complexity of integrity and consistency,
regardless of where the actual data is stored (up to the implementation
of `writer:: RandomWrite` trait.

Major changes:
 - writer.rs: implements VerifiedFileEditor
 - common.rs: added ChunkedSizeIter which is renamed from fusefs.rs

Bug: 171279640
Test: atest authfs_device_test_src_lib

Change-Id: I7bcb0cd9404d2b5c18b6dc0837ee23847262a4f7
5 files changed
tree: 89063935b0c3e7a500ba49955a046a29494a5194
  1. apex/
  2. authfs/
  3. docs/
  4. microdroid/
  5. tests/
  6. virtmanager/
  7. vm/
  8. .clang-format
  9. PREUPLOAD.cfg