crypto: acomp - Move stream management into scomp layer
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 9 Mar 2025 02:43:17 +0000 (10:43 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 15 Mar 2025 08:21:22 +0000 (16:21 +0800)
commit3d72ad46a23ae42450d1f475bb472151dede5b93
tree1dc4fa21ca6c6db00464630400e165885ecf4f86
parent0af7304c0696ec5b3589af6973b7f27e014c2903
crypto: acomp - Move stream management into scomp layer

Rather than allocating the stream memory in the request object,
move it into a per-cpu buffer managed by scomp.  This takes the
stress off the user from having to manage large request objects
and setting up their own per-cpu buffers in order to do so.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/acompress.c
crypto/compress.h
crypto/scompress.c
include/crypto/acompress.h
include/crypto/internal/acompress.h
include/crypto/internal/scompress.h