]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwbimage: Validate data checksum of v1 images
authorPali Rohár <pali@kernel.org>
Fri, 23 Jul 2021 09:14:03 +0000 (11:14 +0200)
committerStefan Roese <sr@denx.de>
Sat, 31 Jul 2021 07:49:31 +0000 (09:49 +0200)
commite0c243c398a771df22fd3caf309b04eef3ba2683
tree8b53dd3ebf1be867afd6a8ee2f447c2ffa591438
parent9380445f65b260ddddbf8b7a083b364b7f59970f
tools: kwbimage: Validate data checksum of v1 images

The data part of v1 images contains 32-bit checksum after the data.
Validate whether this checksum is correct.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Chris Packham <judge.packham@gmail.com>
Tested-by: Chris Packham <judge.packham@gmail.com>
tools/kwbimage.c