avb2.0: add get_size_of_partition()
authorIgor Opaniuk <igor.opaniuk@linaro.org>
Fri, 10 Aug 2018 13:59:59 +0000 (16:59 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 13 Aug 2018 18:03:52 +0000 (14:03 -0400)
commit7a5fbfe64154c7474a9af2f3ff0a57ea2089fd87
treea5b71c4877d3bea745af7794d4dac1ba436a7301
parentb8a1f47be3ab050090cd8625e580cf3c63e3ff53
avb2.0: add get_size_of_partition()

Implement get_size_of_partition() operation,
which is required by the latest upstream libavb [1].

[1] https://android.googlesource.com/platform/external/avb/+/android-p-preview-5

Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Acked-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
common/avb_verify.c