On Mon, May 20, 2024 at 07:04:43PM +0800, Herbert Xu wrote: > This patch series adds an interface to set compression algorithm > parameters. The third patch is only an example. Each algorithm > could come up with its own distinct set of parameters and format > if necessary. > > Herbert Xu (3): > crypto: scomp - Add setparam interface > crypto: acomp - Add setparam interface > crypto: acomp - Add comp_params helpers > > crypto/acompress.c | 70 +++++++++++++++++-- > crypto/compress.h | 9 ++- > crypto/scompress.c | 103 +++++++++++++++++++++++++++- > include/crypto/acompress.h | 41 ++++++++++- > include/crypto/internal/acompress.h | 3 + > include/crypto/internal/scompress.h | 37 ++++++++++ > 6 files changed, 252 insertions(+), 11 deletions(-) > > -- > 2.39.2 So does this satsify your needs Sergey? I'm not going to apply this if you won't be using it. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt