diff options
author | Marcelo Cerri <mhcerri@linux.vnet.ibm.com> | 2013-08-29 11:36:33 -0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-09-02 20:32:53 +1000 |
commit | 2d290f0240c682a5dddf6b9ba39460c82f9fdff1 (patch) | |
tree | 43bc3d83543d27b436e128ae3452084e367be0e0 /drivers/mfd/sm501.c | |
parent | ab74175938c0cd819733e68f5848bb4c818ec7aa (diff) | |
download | linux-2d290f0240c682a5dddf6b9ba39460c82f9fdff1.tar.bz2 |
crypto: nx - fix limits to sg lists for AES-CBC
This patch updates the nx-aes-cbc implementation to perform several
hyper calls if needed in order to always respect the length limits for
scatter/gather lists.
Two different limits are considered:
- "ibm,max-sg-len": maximum number of bytes of each scatter/gather
list.
- "ibm,max-sync-cop":
- The total number of bytes that a scatter/gather list can hold.
- The maximum number of elements that a scatter/gather list can have.
Reviewed-by: Joy Latten <jmlatten@linux.vnet.ibm.com>
Signed-off-by: Marcelo Cerri <mhcerri@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/mfd/sm501.c')
0 files changed, 0 insertions, 0 deletions