aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/compress.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-03-09 10:43:17 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2025-03-15 16:21:22 +0800
commit3d72ad46a23ae42450d1f475bb472151dede5b93 (patch)
tree1dc4fa21ca6c6db00464630400e165885ecf4f86 /crypto/compress.h
parent0af7304c0696ec5b3589af6973b7f27e014c2903 (diff)
downloadlinux-3d72ad46a23ae42450d1f475bb472151dede5b93.tar.gz
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>
Diffstat (limited to 'crypto/compress.h')
-rw-r--r--crypto/compress.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/compress.h b/crypto/compress.h
index c3cedfb5e60642..f7737a1fcbbdd7 100644
--- a/crypto/compress.h
+++ b/crypto/compress.h
@@ -15,8 +15,6 @@ struct acomp_req;
struct comp_alg_common;
int crypto_init_scomp_ops_async(struct crypto_tfm *tfm);
-struct acomp_req *crypto_acomp_scomp_alloc_ctx(struct acomp_req *req);
-void crypto_acomp_scomp_free_ctx(struct acomp_req *req);
void comp_prepare_alg(struct comp_alg_common *alg);