coreboot-kgpe-d16/src/commonlib
Aaron Durbin cbb6c75061 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@chromium.org>
Reviewed-on: https://review.coreboot.org/12786
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins)
2016-01-06 01:12:04 +01:00
..
include/commonlib commonlib: Add function to hash contents of a CBFS region. 2016-01-06 01:12:04 +01:00
cbfs.c commonlib: Add function to hash contents of a CBFS region. 2016-01-06 01:12:04 +01:00
fsp1_1_relocate.c commonlib: Remove unused static function. 2015-11-09 12:26:31 +01:00
Makefile.inc commonlib: Add common cbfs parsing logic to coreboot and cbfstool. 2016-01-06 01:11:19 +01:00
mem_pool.c commonlib: Prepare code to be included in cbfstool builds. 2016-01-06 01:11:32 +01:00
region.c commonlib: Prepare code to be included in cbfstool builds. 2016-01-06 01:11:32 +01:00