summaryrefslogtreecommitdiff
path: root/arch/x86/crypto/blowfish_glue.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@iki.fi>2013-04-08 18:51:00 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2013-04-25 13:01:51 (GMT)
commit18be45270a80ab489d9402b63e1f103428f0afde (patch)
tree4335e792dd1e612fff4838619698263dfce4344e /arch/x86/crypto/blowfish_glue.c
parenta05248ed2d9a83ae7c3e6db7c4ef9331c3dedc81 (diff)
downloadlinux-fsl-qoriq-18be45270a80ab489d9402b63e1f103428f0afde.tar.xz
crypto: x86/twofish-avx - use optimized XTS code
Change twofish-avx to use the new XTS code, for smaller stack usage and small boost to performance. tcrypt results, with Intel i5-2450M: enc dec 16B 1.03x 1.02x 64B 0.91x 0.91x 256B 1.10x 1.09x 1024B 1.12x 1.11x 8192B 1.12x 1.11x Since XTS is practically always used with data blocks of size 512 bytes or more, I chose to not make use of twofish-3way for block sized smaller than 128 bytes. This causes slower result in tcrypt for 64 bytes. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/crypto/blowfish_glue.c')
0 files changed, 0 insertions, 0 deletions