crypto: caam - Use local sg pointers to walk the scatterlist
authorVictoria Milhoan <vicki.milhoan@freescale.com>
Wed, 5 Aug 2015 18:28:41 +0000 (11:28 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Aug 2015 15:19:00 +0000 (23:19 +0800)
commitec0273039b6606ae08132f41854381e0d7371ded
tree428c427800e3e2f1b412f06cf8b3c84837811cf5
parent7d5196aba3c81999d56b26daa5ea7590513cdc1f
crypto: caam - Use local sg pointers to walk the scatterlist

Avoid moving the head of the scatterlist entry by using temporary
pointers to walk the scatterlist.

Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com>
Tested-by: Horia Geantă <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/sg_sw_sec4.h