[coreboot-gerrit] Patch merged into coreboot/master: commonlib: Add function to hash contents of a CBFS region.
gerrit at coreboot.org
gerrit at coreboot.org
Wed Jan 6 01:12:54 CET 2016
the following patch was just integrated into master:
commit cbb6c75061c5435f115629b1546e21157de3d194
Author: Aaron Durbin <adurbin at chromium.org>
Date: Tue Dec 15 15:57:11 2015 -0600
commonlib: Add function to hash contents of a CBFS region.
Provide a common routine to hash the contents of a cbfs
region. The cbfs region is hashed in the following order:
1. potential cbfs header at offset 0
2. potential cbfs header retlative offset at cbfs size - 4
3. For each file the metadata of the file.
4. For each non-empty file the data of the file.
BUG=chrome-os-partner:48412
BUG=chromium:445938
BRANCH=None
TEST=Utilized in chromeos cros_bundle_firmware as well as at
runtime during vboot verification on glados.
Change-Id: Ie1e5db5b8a80d9465e88d3f69f5367d887bdf73f
Signed-off-by: Aaron Durbin <adurbin at chromium.org>
Reviewed-on: https://review.coreboot.org/12786
Reviewed-by: Patrick Georgi <pgeorgi at google.com>
Tested-by: build bot (Jenkins)
See https://review.coreboot.org/12786 for details.
-gerrit
More information about the coreboot-gerrit
mailing list