summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/serpent.h
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2012-06-09 15:25:40 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2012-06-14 02:07:21 (GMT)
commitce6dd368984068c8938e8d3fba8e292ef63cee97 (patch)
treedaf864115070eff01607912162f8d31fbb6b87da /arch/x86/include/asm/serpent.h
parent31b4cd2907322bd56e4090168e4ce8f8dcd17820 (diff)
downloadlinux-fsl-qoriq-ce6dd368984068c8938e8d3fba8e292ef63cee97.tar.xz
crypto: arc4 - improve performance by adding ecb(arc4)
Currently arc4.c provides simple one-byte blocksize cipher which is wrapped by ecb() module, giving function call overhead on every encrypted byte. This patch adds ecb(arc4) directly into arc4.c for higher performance. tcrypt results (speed ratios: new/old): AMD Phenom II, x86-64 : x2.7 Intel Core 2, x86-64 : x1.9 Intel Atom N260, i386 : x1.4 Cc: Jon Oberheide <jon@oberheide.org> Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/include/asm/serpent.h')
0 files changed, 0 insertions, 0 deletions