diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-03-15 13:30:22 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-03-21 12:33:39 +0300 |
| commit | 2d3553ecb4e316a74571da253191c37fb90cb815 (patch) | |
| tree | 78056d3a2f2f1dc641e9cef299c5ea885dfc179b /include/crypto/internal | |
| parent | 39a3f23407d3b6942727ae2367382b5575d995c9 (diff) | |
| download | linux-2d3553ecb4e316a74571da253191c37fb90cb815.tar.xz | |
crypto: scomp - Remove support for some non-trivial SG lists
As the only user of acomp/scomp uses a trivial single-page SG
list, remove support for everything else in preprataion for the
addition of virtual address support.
However, keep support for non-trivial source SG lists as that
user is currently jumping through hoops in order to linearise
the source data.
Limit the source SG linearisation buffer to a single page as
that user never goes over that. The only other potential user
is also unlikely to exceed that (IPComp) and it can easily do
its own linearisation if necessary.
Also keep the destination SG linearisation for IPComp.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/internal')
| -rw-r--r-- | include/crypto/internal/scompress.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/crypto/internal/scompress.h b/include/crypto/internal/scompress.h index 88986ab8ce15..f25aa2ea3b48 100644 --- a/include/crypto/internal/scompress.h +++ b/include/crypto/internal/scompress.h @@ -12,8 +12,6 @@ #include <crypto/acompress.h> #include <crypto/algapi.h> -#define SCOMP_SCRATCH_SIZE 131072 - struct acomp_req; struct crypto_scomp { |
