]> git.dujemihanovic.xyz Git - u-boot.git/commit
bloblist: Checksum the entire bloblist
authorSimon Glass <sjg@chromium.org>
Wed, 27 Dec 2023 21:07:05 +0000 (13:07 -0800)
committerSimon Glass <sjg@chromium.org>
Sun, 31 Dec 2023 14:21:02 +0000 (07:21 -0700)
commit997dac6edebe5b82f4d6f9b90753f0af6e9d04f0
tree42c0bebc0af5e779a3982bd983646a78bfb53253
parent47e1047b0cc25269124737696971ab0c3187666d
bloblist: Checksum the entire bloblist

Use a sinple 8-bit checksum for bloblist, as specified by the spec
version 0.9.
Spec v0.9 specifies that the entire bloblist area is checksummed,
including unused portions. Update the code to follow this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Co-developed-by: Raymond Mao <raymond.mao@linaro.org>
Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
common/bloblist.c
include/bloblist.h
test/bloblist.c