diff options
author | Bowgo Tsai <bowgotsai@google.com> | 2019-01-31 14:20:15 +0800 |
---|---|---|
committer | Bowgo Tsai <bowgotsai@google.com> | 2019-02-12 22:03:20 +0800 |
commit | cd316ea4a005819fa4a9a7d66ebe8aae1d813652 (patch) | |
tree | b62ece10070e5f0aa135a9916d292844844b79e5 /trusty/coverage/coverage.cpp | |
parent | 34f3660e2c7f0558fd16fafee45d84f2f8bc741d (diff) |
libfs_avb: adding two public APIs
The client can include <fs_avb/fs_avb_util.h> to use the two new
functions to load vbmeta for a FstabEntry and extract the hash tree
descriptor from the loaded vbmeta, respectively.
// Given a FstabEntry, loads and verifies the vbmeta.
std::unique_ptr<VBMetaData> LoadAndVerifyVbmeta(...);
// Gets the hashtree descriptor with avb_partition_name from the vbmeta.
std::unique_ptr<FsAvbHashtreeDescriptor> GetHashtreeDescriptor(...);
Bug: 65470881
Test: atest libfs_avb_test
Test: atest libfs_avb_internal_test
Test: atest libfs_avb_device_test
Change-Id: I7d6619eb8140c14734ffb8f8a1b22cddd2f562f0
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions