]> git.dujemihanovic.xyz Git - u-boot.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)
commitad9a3ac5005e7b70a50b621a5340cead6fcc673f
tree64975f0dfce4a7c46027dd44bc6b748326730fdc
parent5923ef686a61c7ac15ed990487e4a4fd312ddeec
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