diff options
author | Marcelo Cerri <mhcerri@linux.vnet.ibm.com> | 2013-08-29 14:36:35 (GMT) |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-09-02 10:32:54 (GMT) |
commit | 799804348d11763b84213156318bb92cb955bfb5 (patch) | |
tree | 3e73f3e3f4eaef22648b36fa02c7136191db14c1 /drivers/dma | |
parent | 884d981b04f3c00f61f4efaf9a93103e01260685 (diff) | |
download | linux-fsl-qoriq-799804348d11763b84213156318bb92cb955bfb5.tar.xz |
crypto: nx - fix limits to sg lists for AES-GCM
This patch updates the nx-aes-gcm 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/dma')
0 files changed, 0 insertions, 0 deletions