commit | 887c883eea9867535059f3c8414c8cfc952ccff1 | [log] [tgz] |
---|---|---|
author | Dmitry Kasatkin <dmitry.kasatkin@nokia.com> | Fri Nov 19 16:04:29 2010 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat Nov 27 16:37:19 2010 +0800 |
tree | 2a35344c0b1de81b5b4a70bfe416c6605c5809c7 | |
parent | a55b290b0e41e02d1969589c5d77d966ac2b7ec8 [diff] |
crypto: omap-sham - zero-copy scatterlist handling If scatterlist have more than one entry, current driver uses aligned buffer to copy data to to accelerator to tackle possible issues with DMA and SHA buffer alignment. This commit adds more intelligence to verify SG alignment and possibility to use DMA directly on the data without using copy buffer. Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>