avb2.0: add Android Verified Boot 2.0 library
authorIgor Opaniuk <igor.opaniuk@linaro.org>
Sun, 3 Jun 2018 18:56:36 +0000 (21:56 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 18 Jun 2018 17:55:13 +0000 (13:55 -0400)
commitd8f9d2af96b38f494b3991d5021d72f7c3cec54c
tree1c9180431c9c827ed1189004f07c62949e8fdb16
parent378b29cbc6607ad8246b1381bc74ec62bdb19105
avb2.0: add Android Verified Boot 2.0 library

Add libavb lib (3rd party library from AOSP), that implements support of
AVB 2.0. This library is used for integrity checking of Android partitions
on eMMC.

libavb was added as it is and minimal changes were introduced to reduce
maintenance cost, because it will be deviated from AOSP upstream in the future.

Changes:
- license headers changed to conform SPDX-style
- avb_crc32.c dropped
- updates in avb_sysdeps_posix.c/avb_sysdeps.h

For additional details check [1] AVB 2.0 README.

[1] https://android.googlesource.com/platform/external/avb/+/master/README.md

Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org>
35 files changed:
lib/libavb/avb_chain_partition_descriptor.c [new file with mode: 0644]
lib/libavb/avb_chain_partition_descriptor.h [new file with mode: 0644]
lib/libavb/avb_cmdline.c [new file with mode: 0644]
lib/libavb/avb_cmdline.h [new file with mode: 0644]
lib/libavb/avb_crypto.c [new file with mode: 0644]
lib/libavb/avb_crypto.h [new file with mode: 0644]
lib/libavb/avb_descriptor.c [new file with mode: 0644]
lib/libavb/avb_descriptor.h [new file with mode: 0644]
lib/libavb/avb_footer.c [new file with mode: 0644]
lib/libavb/avb_footer.h [new file with mode: 0644]
lib/libavb/avb_hash_descriptor.c [new file with mode: 0644]
lib/libavb/avb_hash_descriptor.h [new file with mode: 0644]
lib/libavb/avb_hashtree_descriptor.c [new file with mode: 0644]
lib/libavb/avb_hashtree_descriptor.h [new file with mode: 0644]
lib/libavb/avb_kernel_cmdline_descriptor.c [new file with mode: 0644]
lib/libavb/avb_kernel_cmdline_descriptor.h [new file with mode: 0644]
lib/libavb/avb_ops.h [new file with mode: 0644]
lib/libavb/avb_property_descriptor.c [new file with mode: 0644]
lib/libavb/avb_property_descriptor.h [new file with mode: 0644]
lib/libavb/avb_rsa.c [new file with mode: 0644]
lib/libavb/avb_rsa.h [new file with mode: 0644]
lib/libavb/avb_sha.h [new file with mode: 0644]
lib/libavb/avb_sha256.c [new file with mode: 0644]
lib/libavb/avb_sha512.c [new file with mode: 0644]
lib/libavb/avb_slot_verify.c [new file with mode: 0644]
lib/libavb/avb_slot_verify.h [new file with mode: 0644]
lib/libavb/avb_sysdeps.h [new file with mode: 0644]
lib/libavb/avb_sysdeps_posix.c [new file with mode: 0644]
lib/libavb/avb_util.c [new file with mode: 0644]
lib/libavb/avb_util.h [new file with mode: 0644]
lib/libavb/avb_vbmeta_image.c [new file with mode: 0644]
lib/libavb/avb_vbmeta_image.h [new file with mode: 0644]
lib/libavb/avb_version.c [new file with mode: 0644]
lib/libavb/avb_version.h [new file with mode: 0644]
lib/libavb/libavb.h [new file with mode: 0644]