summaryrefslogtreecommitdiff
path: root/crypto/blowfish_common.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@iki.fi>2013-04-13 13:46:50 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2013-04-25 21:09:05 +0800
commitb1e33ac036aa0653c3de6d5b7cced9faebcad1df (patch)
tree5c72a25cf29e1cdd8e997a84e461b69daf5c210b /crypto/blowfish_common.c
parent7241dc00ba8f356b890acf6f38d17cf0279d2b2d (diff)
downloadlinux-crypto-b1e33ac036aa0653c3de6d5b7cced9faebcad1df.tar.gz
linux-crypto-b1e33ac036aa0653c3de6d5b7cced9faebcad1df.zip
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 <jussi.kivilinna@iki.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/blowfish_common.c')
0 files changed, 0 insertions, 0 deletions