Re: [PATCH v5 3/9] crypto: add driver-side scomp interface

2016-06-07 Thread Herbert Xu
On Thu, Jun 02, 2016 at 01:28:57PM +0100, Giovanni Cabiddu wrote: > > @@ -96,6 +116,31 @@ struct crypto_acomp *crypto_alloc_acomp(const char > *alg_name, u32 type, > } > EXPORT_SYMBOL_GPL(crypto_alloc_acomp); > > +struct acomp_req *acomp_request_alloc(struct crypto_acomp *acomp, gfp_t gfp) > +

[PATCH v5 3/9] crypto: add driver-side scomp interface

2016-06-02 Thread Giovanni Cabiddu
Add a synchronous back-end (scomp) to acomp. This allows to easily expose the already present compression algorithms in LKCF via acomp Signed-off-by: Giovanni Cabiddu --- crypto/Makefile |1 + crypto/acompress.c | 49 +++- crypto/scompress.c