Re: [PATCH/RFC 1/4] crypto: Add partial decompression support to the CRYPTO API

2008-11-25 Thread Herbert Xu
On Mon, Nov 24, 2008 at 05:12:37PM +0100, Geert Uytterhoeven wrote: > To solve this, add the following operations that support partial > (de)compression: > - crypto_compress_{init,update,final}() for compression, > - crypto_decompress_{init,update,final}() for decompression. Probably best to p

[PATCH/RFC 1/4] crypto: Add partial decompression support to the CRYPTO API

2008-11-24 Thread Geert Uytterhoeven
The current CRYPTO API supports one-shot (de)compression only, i.e. the whole data buffer to be (de)compressed must be passed at once, and the whole (de)compressed data buffer will be received at once. In several use-cases (e.g. compressed file systems that store files in big compressed blocks), th