coreboot/src
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
..
acpi tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
arch imgtec/pistachio: Add SOC_REGISTERS memory region 2015-12-31 17:32:24 +01:00
commonlib commonlib: Add function to hash contents of a CBFS region. 2016-01-06 01:12:04 +01:00
console src/console: Add x86 romstage spinlock option and printk spinlock support 2015-12-15 16:41:13 +01:00
cpu x86 chipsets: Link non-code flow CHIPSET_BOOTBLOCK_INCLUDE files 2015-12-30 18:34:08 +01:00
device device/pnp: Ability to set vendor specific logical device config 2015-12-29 18:17:01 +01:00
drivers drivers/xgi/common: Fix XGI_SetGroup2 2015-12-30 20:30:17 +01:00
ec ACPI: Add hack to avoid IASL warning when reading back registers 2015-12-26 20:53:49 +01:00
include commonlib: Prepare code to be included in cbfstool builds. 2016-01-06 01:11:32 +01:00
lib commonlib: Add common cbfs parsing logic to coreboot and cbfstool. 2016-01-06 01:11:19 +01:00
mainboard lenovo/x200: Revise onboard IRQ routing 2015-12-31 17:43:38 +01:00
northbridge Revert "AMD OemS3Save: refactor for Merlin Falcon" 2016-01-04 11:18:04 +01:00
soc imgtec/pistachio: disable default RPU gate register values 2015-12-31 17:36:06 +01:00
southbridge sb/amd/sr5650: Correctly locate CPU MMCONFIG resource 2016-01-04 16:59:21 +01:00
superio superio/it8772f: Add register to set the default value of FAN speed 2015-12-31 17:40:17 +01:00
vendorcode commonlib: Add function to hash contents of a CBFS region. 2016-01-06 01:12:04 +01:00
Kconfig Kconfig: move fmap description file prompt into the mainboard menu 2015-12-30 20:23:20 +01:00