[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z9UTvkmx_InPeqEB@gondor.apana.org.au>
Date: Sat, 15 Mar 2025 13:44:30 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Zhihao Cheng <chengzhihao1@...wei.com>
Cc: Linux Crypto Mailing List <linux-crypto@...r.kernel.org>,
Richard Weinberger <richard@....at>, linux-mtd@...ts.infradead.org,
"Rafael J. Wysocki" <rafael@...nel.org>,
Pavel Machek <pavel@....cz>, linux-pm@...r.kernel.org,
Steffen Klassert <steffen.klassert@...unet.com>,
netdev@...r.kernel.org
Subject: Re: [v4 PATCH 10/13] ubifs: Use crypto_acomp interface
On Sat, Mar 15, 2025 at 01:15:09PM +0800, Zhihao Cheng wrote:
>
> Hi, Herbert. Can you show me which patch fixed the problem in LZO?
https://web.git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=cc47f07234f72cbd8e2c973cdbf2a6730660a463
> Does LZO guarantee the output data length smaller than input buffer length?
> Which commit fixed the issue?
The guarantee is that the algorithm will not write to the output
buffer beyond the specific buffer length.
For compression, you may specify a desired output length that is
smaller than the input buffer, automatically stopping the compression
if the input is incompressible.
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists