crypto: omap - Stop using crypto scatterwalk_bytes_sglen
We already have a generic function sg_nents_for_len which does
the same thing. This patch switches omap over to it and also
adds error handling in case the SG list is short.
Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au>
parent
3a01d0ee
Please register or sign in to comment