Add a way to disable check of chunk min size
authorStefano Babic <sbabic@denx.de>
Sat, 28 Aug 2021 14:18:54 +0000 (16:18 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 31 Aug 2021 12:59:23 +0000 (14:59 +0200)
commite3fdd8210610ebe21a44a226888b519672e18986
treed53ad50d859999b931a136478b9f24eade1c3b43
parentb299f39a07b6f5e37b4417361fe3a630e9522a0f
Add a way to disable check of chunk min size

The check for chunk size is done on the compressed data.
This forbids to create the same chunk set in case data is not compressed
and comparison is done using the hashes of original data and not of
compressed chunk.

Signed-off-by: Stefano Babic <sbabic@denx.de>
include/zck.h.in
src/lib/comp/comp.c
src/lib/zck.c
src/lib/zck_private.h
src/zck.c