]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: scatterwalk - Add no-copy support to copychunks
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 12 Jul 2016 05:17:55 +0000 (13:17 +0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 05:34:35 +0000 (21:34 -0800)
commitc00236bc52cf0450db5627d1b404617c2c6e90ad
treed6e1c1b63a76859f9d03ee97c284883816787029
parent9277f3f76aee2c491f1a3826e0c84be7784fdd2f
crypto: scatterwalk - Add no-copy support to copychunks

Orabug: 25243093

The function ablkcipher_done_slow is pretty much identical to
scatterwalk_copychunks except that it doesn't actually copy as
the processing hasn't been completed yet.

This patch allows scatterwalk_copychunks to be used in this case
by specifying out == 2.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit 85eccddee401ae81067e763516889780b5545160)
Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
crypto/scatterwalk.c