1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00
Files
u-boot-megous/include
Igor Opaniuk 3af30e4443 avb2.0: implement AVB ops
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@linaro.org>
2018-06-18 13:55:13 -04:00
..
2018-06-13 07:49:12 -04:00
2018-06-18 13:55:13 -04:00
2018-06-13 07:49:13 -04:00
2018-06-13 07:49:12 -04:00
2018-06-07 17:08:06 -04:00
2018-05-30 11:59:21 +02:00
2018-05-23 17:30:03 -04:00
2018-06-03 15:27:21 +02:00
2018-05-26 12:46:50 -04:00
2018-05-26 18:19:17 -04:00
2018-05-11 09:23:43 +02:00