]> asedeno.scripts.mit.edu Git - linux.git/commit
crypto: crypto4xx - refactor crypto4xx_copy_pkt_to_dst()
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 25 Aug 2017 13:47:22 +0000 (15:47 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Sep 2017 09:43:19 +0000 (17:43 +0800)
commit5c727f92ea5e019fd216f73009eee2b6e0867726
treefd9789aca5297e0d347760580a97748caea8873a
parentf2a13e7cba9e2b16f4888fbd9cf2bc25b95945be
crypto: crypto4xx - refactor crypto4xx_copy_pkt_to_dst()

This patch refactors the crypto4xx_copy_pkt_to_dst() to use
scatterwalk_map_and_copy() to copy the processed data between
the crypto engine's scatter ring buffer and the destination
specified by the ablkcipher_request.

This also makes the crypto4xx_fill_one_page() function redundant.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amcc/crypto4xx_core.c