crypto: ccree - make AEAD sgl iterator well behaved
authorGilad Ben-Yossef <gilad@benyossef.com>
Thu, 18 Apr 2019 13:39:00 +0000 (16:39 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Apr 2019 07:38:15 +0000 (15:38 +0800)
commitc776f7d37b6bf3663c838b2d2223f8ec1b523b12
tree038c9be5ae4d39586b6dc0ecaea329f6a6e76728
parentda3cf67f1bcf25b069a54ff70fd108860242c8f7
crypto: ccree - make AEAD sgl iterator well behaved

Fix some scatter list interation code was not handling scatter lists
being shorter than expected in a graceful manner.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_buffer_mgr.c