From: Jussi Kivilinna Date: Tue, 12 Jun 2012 08:52:04 +0000 (+0800) Subject: crypto: testmgr - add ecb(arc4) speed tests X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=31b4cd2907322bd56e4090168e4ce8f8dcd17820;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git crypto: testmgr - add ecb(arc4) speed tests Signed-off-by: Jussi Kivilinna Signed-off-by: Herbert Xu --- diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 2af879786e75..58ad4fe5d208 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -1342,6 +1342,11 @@ static int do_test(int m) speed_template_32_64); break; + case 208: + test_cipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0, + speed_template_8); + break; + case 300: /* fall through */ @@ -1589,6 +1594,11 @@ static int do_test(int m) speed_template_32_48_64); break; + case 505: + test_acipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0, + speed_template_8); + break; + case 1000: test_available(); break;