crypto: scatterwalk - Add scatterwalk_ffwd helper
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 May 2015 07:10:59 +0000 (15:10 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 May 2015 03:25:50 +0000 (11:25 +0800)
commitfc42bcba97bae738f905b83741134a63af7e6c02
tree8ace4b3690395cd811f3cd63a96b77e066e4cb5f
parent66d948e732f665c905678d810833d4f0a5071537
crypto: scatterwalk - Add scatterwalk_ffwd helper

This patch adds the scatterwalk_ffwd helper which can create an
SG list that starts in the middle of an existing SG list.  The
new list may either be part of the existing list or be a chain
that latches onto part of the existing list.

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