mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 04:34:08 +08:00
crypto: testmgr - add ecb(arc4) speed tests
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
d691af0002
commit
31b4cd2907
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user