On Mon, Apr 29, 2024 at 04:21:46PM +0100, Cabiddu, Giovanni wrote: > > @Herbert, do you have any objection if we add the compression level to > the acomp tfm and we add an API to set it? Example: > > tfm = crypto_alloc_acomp("deflate", 0, 0); > acomp_set_level(tfm, compression_level); Yes I think that's fine. I'd make it a more generic interface and model it after setkey so that you can set any parameter for the given algorithm. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt