diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2012-06-09 11:25:40 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-06-13 22:07:21 -0400 |
commit | ce6dd368984068c8938e8d3fba8e292ef63cee97 (patch) | |
tree | daf864115070eff01607912162f8d31fbb6b87da /kernel/padata.c | |
parent | 31b4cd2907322bd56e4090168e4ce8f8dcd17820 (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 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions