summaryrefslogtreecommitdiffstats
path: root/arch/x86/crypto/serpent_avx_glue.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2012-10-20 15:06:46 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2012-10-24 21:10:55 +0800
commit8435a3c3003c00c43f1b267368bbe1d8dada35d1 (patch)
tree0cc1f6dbf5f379f0e3e1efdd796ed91b3f3d6304 /arch/x86/crypto/serpent_avx_glue.c
parentcba1cce05498d55f363c28cd2512368e95605518 (diff)
downloadlinux-8435a3c3003c00c43f1b267368bbe1d8dada35d1.tar.bz2
crypto: twofish/avx - avoid using temporary stack buffers
Introduce new assembler functions to avoid use temporary stack buffers in glue code. This also allows use of vector instructions for xoring output in CTR and CBC modes and construction of IVs for CTR mode. ECB mode sees ~0.2% decrease in speed because added one extra function call. CBC mode decryption and CTR mode benefit from vector operations and gain ~3%. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/crypto/serpent_avx_glue.c')
0 files changed, 0 insertions, 0 deletions