Re: [PATCH 1/9] crypto: add zbufsize() interface

From: Herbert Xu
Date: Tue Aug 07 2018 - 22:53:52 EST


On Tue, Aug 07, 2018 at 11:10:10AM -0700, Kees Cook wrote:
>
> > Please don't add new features to the old compress interface. Any
> > new improvements should be added to scomp/acomp only. Users who
> > need new features should be converted.
>
> So, keep crypto_scomp_zbufsize() and drop crypto_comp_zbufsize() and
> crypto_zbufsize()? Should I add crypto_acomp_zbufsize()?

Yes and yes. acomp is the primary interface and should support
all the features in scomp.

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt