From: Jussi Kivilinna Date: Sat, 13 Apr 2013 10:46:50 +0000 (+0300) Subject: crypto: twofish - add AVX2/x86_64 assembler implementation of twofish cipher X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~57^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf1521a1a5e21fd1e79a458605c4282fbfbbeee2;p=pandora-kernel.git crypto: twofish - add AVX2/x86_64 assembler implementation of twofish cipher Patch adds AVX2/x86-64 implementation of Twofish cipher, requiring 16 parallel blocks for input (256 bytes). Table look-ups are performed using vpgatherdd instruction directly from vector registers and thus should be faster than earlier implementations. Implementation also uses 256-bit wide YMM registers, which should give additional speed up compared to the AVX implementation. Signed-off-by: Jussi Kivilinna Signed-off-by: Herbert Xu --- Reading git-diff-tree failed