|
|
Log in / Subscribe / Register

crypto: acomp - Add request chaining and virtual address support

From:  Herbert Xu <herbert-AT-gondor.apana.org.au>
To:  Linux Crypto Mailing List <linux-crypto-AT-vger.kernel.org>
Subject:  [v3 PATCH 0/8] crypto: acomp - Add request chaining and virtual address support
Date:  Sun, 09 Mar 2025 10:43:10 +0800
Message-ID:  <cover.1741488107.git.herbert@gondor.apana.org.au>
Cc:  Yosry Ahmed <yosry.ahmed-AT-linux.dev>, Kanchana P Sridhar <kanchana.p.sridhar-AT-intel.com>, Sergey Senozhatsky <senozhatsky-AT-chromium.org>
Archive-link:  Article

v3 adds mixing SG with virtual, e.g., SG src with virtual dst.

This patch series adds reqeust chaining and virtual address support
to the crypto_acomp interface.

Herbert Xu (8):
  crypto: api - Add cra_type->destroy hook
  crypto: scomp - Remove tfm argument from alloc/free_ctx
  crypto: acomp - Move stream management into scomp layer
  crypto: scomp - Disable BH when taking per-cpu spin lock
  crypto: acomp - Add request chaining and virtual addresses
  crypto: testmgr - Remove NULL dst acomp tests
  crypto: scomp - Remove support for most non-trivial destination SG
    lists
  crypto: scomp - Add chaining and virtual address support

 crypto/842.c                           |   8 +-
 crypto/acompress.c                     | 204 +++++++++++++++++++---
 crypto/api.c                           |  10 ++
 crypto/compress.h                      |   2 -
 crypto/deflate.c                       |   4 +-
 crypto/internal.h                      |   6 +-
 crypto/lz4.c                           |   8 +-
 crypto/lz4hc.c                         |   8 +-
 crypto/lzo-rle.c                       |   8 +-
 crypto/lzo.c                           |   8 +-
 crypto/scompress.c                     | 225 +++++++++++++++----------
 crypto/testmgr.c                       |  29 ----
 crypto/zstd.c                          |   4 +-
 drivers/crypto/cavium/zip/zip_crypto.c |   6 +-
 drivers/crypto/cavium/zip/zip_crypto.h |   6 +-
 include/crypto/acompress.h             | 225 ++++++++++++++++++++++---
 include/crypto/internal/acompress.h    |  59 +++++--
 include/crypto/internal/scompress.h    |  18 +-
 18 files changed, 611 insertions(+), 227 deletions(-)

-- 
2.39.5




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds