Messages in this thread | | | Date | Thu, 3 Aug 2023 11:29:58 +0100 | From | Giovanni Cabiddu <> | Subject | Re: [RFC PATCH 01/21] crypto: scomp - Revert "add support for deflate rfc1950 (zlib)" |
| |
On Thu, Aug 03, 2023 at 11:59:00AM +0200, Ard Biesheuvel wrote: > Any clue why zlib_deflate was chosen in this case? I believe it was done for integrity. The output of zlib_deflate is raw deflate with an header and a footer defined in rfc1950. The footer contains a checksum which gets calculated over the uncompressed data during compression and checked after decompression.
-- Giovanni
| |