crypto: nx - fix limits to sg lists for AES-XCBC
authorFionnuala Gunter <fin@linux.vnet.ibm.com>
Thu, 29 Aug 2013 14:36:36 +0000 (11:36 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 2 Sep 2013 10:32:54 +0000 (20:32 +1000)
commit9d6f1a82d3a81d603526980ef705b9ab39f997f3
tree97bcfcabaf349fca5e0ae1478eb06eb855adcc10
parent799804348d11763b84213156318bb92cb955bfb5
crypto: nx - fix limits to sg lists for AES-XCBC

This patch updates the NX driver to perform several hyper calls when necessary
so that the length limits of scatter/gather lists are respected.

Reviewed-by: Joy Latten <jmlatten@linux.vnet.ibm.com>
Reviewed-by: Marcelo Cerri <mhcerri@linux.vnet.ibm.com>
Signed-off-by: Fionnuala Gunter <fin@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/nx/nx-aes-xcbc.c