Re: [RFC] CryptoAPI & Compression

From: Herbert Xu
Date: Sun Apr 03 2005 - 04:33:29 EST


On Sun, Apr 03, 2005 at 12:59:23PM +0400, Artem B. Bityuckiy wrote:
>
> Err, it looks like we've lost the conversation flow. :-) I commented
> your phrase: "The question is what happens when you compress 1 1GiB
> input buffer into a 1GiB output buffer."
>
> Then could you please in a nutshell write what worries you or what issue
> you would like to clarify?
>
> IIRC, you worried that in case of a large input and output 12 bytes
> won't be enough. I argued it should. I'm even going to check this soon :-)

You can't compress 1M-12bytes into 1M using zlib when the block size
is 64K.
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/