summaryrefslogtreecommitdiff
path: root/crypto/deflate.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2012-06-09 18:25:40 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2012-06-14 10:07:21 +0800
commitce6dd368984068c8938e8d3fba8e292ef63cee97 (patch)
treedaf864115070eff01607912162f8d31fbb6b87da /crypto/deflate.c
parent31b4cd2907322bd56e4090168e4ce8f8dcd17820 (diff)
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 'crypto/deflate.c')
0 files changed, 0 insertions, 0 deletions