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

Herbert Xu
2018-08-08T02:53:52Z

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@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt