[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZMuBpm2No70LqgZI@gcabiddu-mobl1.ger.corp.intel.com>
Date: Thu, 3 Aug 2023 11:29:58 +0100
From: Giovanni Cabiddu <giovanni.cabiddu@...el.com>
To: Ard Biesheuvel <ardb@...nel.org>
CC: "linux-crypto@...r.kernel.org" <linux-crypto@...r.kernel.org>, Herbert Xu
<herbert@...dor.apana.org.au>, Eric Biggers <ebiggers@...nel.org>, Kees Cook
<keescook@...omium.org>, Haren Myneni <haren@...ibm.com>, Nick Terrell
<terrelln@...com>, Minchan Kim <minchan@...nel.org>, Sergey Senozhatsky
<senozhatsky@...omium.org>, Jens Axboe <axboe@...nel.dk>, Richard Weinberger
<richard@....at>, David Ahern <dsahern@...nel.org>, Eric Dumazet
<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>, Steffen Klassert <steffen.klassert@...unet.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-block@...r.kernel.org" <linux-block@...r.kernel.org>, qat-linux
<qat-linux@...el.com>, "linuxppc-dev@...ts.ozlabs.org"
<linuxppc-dev@...ts.ozlabs.org>, "linux-mtd@...ts.infradead.org"
<linux-mtd@...ts.infradead.org>, "netdev@...r.kernel.org"
<netdev@...r.kernel.org>
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
Powered by blists - more mailing lists