]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: acomp - Add request chaining and virtual addresses
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 9 Mar 2025 02:43:21 +0000 (10:43 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 15 Mar 2025 08:21:23 +0000 (16:21 +0800)
commitb67a026003725a5d2496eba691c293694ab4847a
treef26a8ae2284ef02c2e6eb9638e8a30bff99cc577
parentcff12830e2cb2044067167f95a537074240347b7
crypto: acomp - Add request chaining and virtual addresses

This adds request chaining and virtual address support to the
acomp interface.

It is identical to the ahash interface, except that a new flag
CRYPTO_ACOMP_REQ_NONDMA has been added to indicate that the
virtual addresses are not suitable for DMA.  This is because
all existing and potential acomp users can provide memory that
is suitable for DMA so there is no need for a fall-back copy
path.

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