]> git.baikalelectronics.ru Git - uboot.git/commit
tools: kwboot: Validate 4-byte image data checksum
authorPali Rohár <pali@kernel.org>
Mon, 25 Oct 2021 13:12:55 +0000 (15:12 +0200)
committerStefan Roese <sr@denx.de>
Wed, 3 Nov 2021 05:45:27 +0000 (06:45 +0100)
commitc8fc7dd2d49b554ce537196f723290b29b38c603
tree64975f0dfce4a7c46027dd44bc6b748326730fdc
parenta18e5fd88759e9038b417da33c72c8b2dc174dda
tools: kwboot: Validate 4-byte image data checksum

Data part of the image contains 4-byte checksum. Validate it when
processing the image.

Signed-off-by: Pali Rohár <pali@kernel.org>
[ refactored ]
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwboot.c