commit | e77c756eca76077032db23d8d4b85dcd743742b4 | [log] [tgz] |
---|---|---|
author | Joel Fernandes <joelf@ti.com> | Sat Aug 17 21:42:24 2013 -0500 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Aug 21 21:27:59 2013 +1000 |
tree | 33f55e0e38d5aab727cb52d6c23f5e6bed781ecf | |
parent | 016af9b5c51e58ecda573f14dabe85a67363b20f [diff] |
crypto: omap-aes - Populate number of SG elements Crypto layer only passes nbytes but number of SG elements is needed for mapping or unmapping SGs at one time using dma_map* API and also needed to pass in for dmaengine prep function. We call function added to scatterwalk for this purpose in omap_aes_handle_queue to populate the values which are used later. Signed-off-by: Joel Fernandes <joelf@ti.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>