diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2012-06-09 18:25:40 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-06-14 10:07:21 +0800 |
commit | ce6dd368984068c8938e8d3fba8e292ef63cee97 (patch) | |
tree | daf864115070eff01607912162f8d31fbb6b87da /virt/kvm | |
parent | 31b4cd2907322bd56e4090168e4ce8f8dcd17820 (diff) | |
download | op-kernel-dev-ce6dd368984068c8938e8d3fba8e292ef63cee97.zip op-kernel-dev-ce6dd368984068c8938e8d3fba8e292ef63cee97.tar.gz |
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 'virt/kvm')
0 files changed, 0 insertions, 0 deletions