diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-04-13 12:46:50 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-04-25 15:09:05 +0200 |
commit | cf1521a1a5e21fd1e79a458605c4282fbfbbeee2 (patch) | |
tree | a7c1fb6d047c75170ddadd0dffe40055167e9c02 /arch/x86/lib/msr-reg.S | |
parent | crypto: blowfish - add AVX2/x86_64 implementation of blowfish cipher (diff) | |
download | linux-cf1521a1a5e21fd1e79a458605c4282fbfbbeee2.tar.xz linux-cf1521a1a5e21fd1e79a458605c4282fbfbbeee2.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 'arch/x86/lib/msr-reg.S')
0 files changed, 0 insertions, 0 deletions