[U-Boot] [U-Boot,v2,3/8] avb2.0: implement AVB ops

Tom Rini trini at konsulko.com
Tue Jun 19 18:40:32 UTC 2018


On Sun, Jun 03, 2018 at 09:56:38PM +0300, Igor Opaniuk wrote:

> Implement AVB ops on top of existing mmc subsystem API. Currently there
> is a full implementation of such operations, defined by [1]
> AVB2.0 specification:
> 
> .read_from_partition() - reads N bytes from a partition identified by
> a name.
> .write_to_partition() - Writes N bytes to a partition identified by a name.
> .validate_vbmeta_public_key() - checks if the given public ‘vbmeta’
> partition is trusted.
> .get_unique_guid_for_partition() - Gets the GUID for a partition identified
> by a string name.
> 
> As [1] specification recommends to use tamper-evident storage for storing
> rollback indexes and device state (LOCKED/UNLOCKED),
> currently are only stubs instead of full implementation for these ops:
> .read_rollback_index() - Gets the rollback index for a given index location
> .write_rollback_index() - Sets the rollback index to a given location
> .read_is_device_unlocked() - Gets where the device is unlocked
> 
> [1] https://android.googlesource.com/platform/external/avb/+/master/README.md
> 
> Signed-off-by: Igor Opaniuk <igor.opaniuk at linaro.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180619/b3a1caa6/attachment.sig>


More information about the U-Boot mailing list