From: Dmitry Kasatkin Date: Fri, 19 Nov 2010 14:04:29 +0000 (+0200) Subject: crypto: omap-sham - zero-copy scatterlist handling X-Git-Tag: v2.6.38-rc1~238^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=887c883eea9867535059f3c8414c8cfc952ccff1;p=pandora-kernel.git 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed