diff options
author | Edward O'Callaghan <quasisec@chromium.org> | 2019-11-26 23:28:05 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2019-11-28 10:00:11 +0000 |
commit | 4a55e6885816aa2a45314975686356ce282cae5c (patch) | |
tree | e689df39d5b23b188196c98fa5feb4ad5b85afee /util | |
parent | 61e16e549a52194ac80ef40504f2dc661d1ff99c (diff) | |
download | flashrom-4a55e6885816aa2a45314975686356ce282cae5c.tar.gz flashrom-4a55e6885816aa2a45314975686356ce282cae5c.tar.bz2 flashrom-4a55e6885816aa2a45314975686356ce282cae5c.zip |
cbtable.c: Factor out lb_header_validation logic
Write a pure function for the header validation logic, it is
easier to unit-test.
Change-Id: Ia288bcbc5c371329952a6efba30ccf0e18965a3d
Signed-off-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/37238
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions