]> git.karo-electronics.de Git - linux-beck.git/commit
Revert "crypto: twofish - add AVX2/x86_64 assembler implementation of twofish cipher"
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 8 Jun 2013 09:17:47 +0000 (12:17 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Jun 2013 06:44:29 +0000 (14:44 +0800)
commit99f42f937a080995b34e1ed75ed6934b5f96f9ca
tree1a9c3482104dd4d99dfc1b839c02678b6a550a53
parent3d387ef08c40382315b8e9baa4bc9a07f7c49fce
Revert "crypto: twofish - add AVX2/x86_64 assembler implementation of twofish cipher"

This reverts commit cf1521a1a5e21fd1e79a458605c4282fbfbbeee2.

Instruction (vpgatherdd) that this implementation relied on turned out to be
slow performer on real hardware (i5-4570). The previous 8-way twofish/AVX
implementation is therefore faster and this implementation should be removed.

Converting this implementation to use the same method as in twofish/AVX for
table look-ups would give additional ~3% speed up vs twofish/AVX, but would
hardly be worth of the added code and binary size.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/Makefile
arch/x86/crypto/twofish-avx2-asm_64.S [deleted file]
arch/x86/crypto/twofish_avx2_glue.c [deleted file]
arch/x86/crypto/twofish_avx_glue.c
arch/x86/include/asm/crypto/twofish.h
crypto/Kconfig
crypto/testmgr.c