cmd: avb2.0: avb command for performing verification
authorIgor Opaniuk <igor.opaniuk@linaro.org>
Sun, 3 Jun 2018 18:56:39 +0000 (21:56 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 18 Jun 2018 17:55:13 +0000 (13:55 -0400)
commit60b2f9e7b97580b3a71d6fa119fc9c66491d963e
treecf35cf85bd9dd965cfe70dafa672a93c85bd2cb7
parent3af30e4443aa2c8224bf15ba352a5ef81b02711a
cmd: avb2.0: avb command for performing verification

Enable a "avb" command to execute Android Verified
Boot 2.0 operations. It includes such subcommands:
  avb init - initialize avb2 subsystem
  avb read_rb - read rollback index
  avb write_rb - write rollback index
  avb is_unlocked - check device lock state
  avb get_uuid - read and print uuid of a partition
  avb read_part - read data from partition
  avb read_part_hex - read data from partition and output to stdout
  avb write_part - write data to partition
  avb verify - run full verification chain

Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org>
cmd/Kconfig
cmd/Makefile
cmd/avb.c [new file with mode: 0644]