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