Re: [PATCH 2/2] crypto: acomp - add support for deflate rfc1950 (zlib)

2017-04-21 Thread Herbert Xu
On Wed, Apr 19, 2017 at 03:11:42PM +0100, Giovanni Cabiddu wrote: > > +}, { > + .alloc_ctx = zlib_deflate_alloc_ctx, > + .free_ctx = deflate_free_ctx, > + .compress = deflate_scompress, > + .decompress = deflate_sdecompress, > +

[PATCH 2/2] crypto: acomp - add support for deflate rfc1950 (zlib)

2017-04-19 Thread Giovanni Cabiddu
Add scomp backend for zlib-deflate compression algorithm. This backend outputs data using the format defined in rfc1950 (raw deflate surrounded by zlib header and footer). Signed-off-by: Giovanni Cabiddu --- crypto/deflate.c | 61 - crypto/testmgr.c |