From: Tom Rini Date: Tue, 19 Jun 2018 14:40:32 -0400 Subject: [U-Boot] [U-Boot,v2,3/8] avb2.0: implement AVB ops In-Reply-To: <1528052203-29689-4-git-send-email-igor.opaniuk@linaro.org> References: <1528052203-29689-4-git-send-email-igor.opaniuk@linaro.org> Message-ID: <20180619184032.GU4609@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de 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 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: