From: Jussi Kivilinna Date: Mon, 8 Apr 2013 18:50:55 +0000 (+0300) Subject: crypto: x86 - add more optimized XTS-mode for serpent-avx X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~57^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a05248ed2d9a83ae7c3e6db7c4ef9331c3dedc81;p=pandora-kernel.git crypto: x86 - add more optimized XTS-mode for serpent-avx This patch adds AVX optimized XTS-mode helper functions/macros and converts serpent-avx to use the new facilities. Benefits are slightly improved speed and reduced stack usage as use of temporary IV-array is avoided. tcrypt results, with Intel i5-2450M: enc dec 16B 1.00x 1.00x 64B 1.00x 1.00x 256B 1.04x 1.06x 1024B 1.09x 1.09x 8192B 1.10x 1.09x Signed-off-by: Jussi Kivilinna Signed-off-by: Herbert Xu --- Reading git-diff-tree failed