]> git.karo-electronics.de Git - linux-beck.git/commit
crypto: blowfish - add AVX2/x86_64 implementation of blowfish cipher
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 13 Apr 2013 10:46:45 +0000 (13:46 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Apr 2013 13:09:04 +0000 (21:09 +0800)
commit604880107010a1e5794552d184cd5471ea31b973
treeed37e3b3e8454f758daab88a2fb9cb5f043ca8ad
parentad8b7c3e92868dd86c54d9d5321000bbb4096f0d
crypto: blowfish - add AVX2/x86_64 implementation of blowfish cipher

Patch adds AVX2/x86-64 implementation of Blowfish cipher, requiring 32 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.

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/blowfish-avx2-asm_64.S [new file with mode: 0644]
arch/x86/crypto/blowfish_avx2_glue.c [new file with mode: 0644]
arch/x86/crypto/blowfish_glue.c
arch/x86/include/asm/cpufeature.h
arch/x86/include/asm/crypto/blowfish.h [new file with mode: 0644]
crypto/Kconfig
crypto/testmgr.c