coreboot-kgpe-d16/payloads/libpayload/libcbfs
Yu-Ping Wu c1d7d89d48 libpayload/libcbfs: Fix file hash check
Fix the buffer pointer passed to cbfs_file_hash_mismatch().

Add a test case with LZ4 compression, which would catch the bug we are
fixing.

Change-Id: I36605e2dbc0423fa6743087512f2042b37c49d35
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65149
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2022-06-16 18:02:34 +00:00
..
Kconfig libpayload/libcbfs/Kconfig: Make CBFS_VERIFICATION depend on VBOOT_LIB 2022-01-14 00:30:41 +00:00
Makefile.inc libpayload: Implement new CBFS access API 2022-01-10 14:30:04 +00:00
cbfs.c libpayload/libcbfs: Fix file hash check 2022-06-16 18:02:34 +00:00
cbfs_core.c libpayload: Fix legacy CBFS code after recent refactoring 2022-01-14 00:41:13 +00:00
cbfs_legacy.c libpayload: Fix legacy CBFS code after recent refactoring 2022-01-14 00:41:13 +00:00
ram_media.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00