From: Jussi Kivilinna Date: Sat, 9 Jun 2012 15:25:40 +0000 (+0300) Subject: crypto: arc4 - improve performance by adding ecb(arc4) X-Git-Tag: v3.6-rc1~94^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce6dd368984068c8938e8d3fba8e292ef63cee97;p=pandora-kernel.git 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 Signed-off-by: Jussi Kivilinna Signed-off-by: Herbert Xu --- Reading git-diff-tree failed