]> git.baikalelectronics.ru Git - kernel.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)
commitf27df8eb3e194899df8cada0a3d5307cddf78f86
tree1a9c3482104dd4d99dfc1b839c02678b6a550a53
parent862d78ea93c8327119313b22dfebef07d561ae8d
Revert "crypto: twofish - add AVX2/x86_64 assembler implementation of twofish cipher"

This reverts commit 19e57dd5bb451fd9c3d86758c8b0a5fa2c3ab84f.

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