diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2012-06-12 16:52:04 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-06-14 10:07:20 +0800 |
commit | 643674b10f4c63d9ad0abd11ca2b46e1eba84db1 (patch) | |
tree | 3bb3c4d6fa2ec3e74d62ce4523a0e76edce19815 /crypto | |
parent | b27ec282153fd0154ffd71a2c97bda01ccaf2878 (diff) | |
download | linux-crypto-643674b10f4c63d9ad0abd11ca2b46e1eba84db1.tar.gz linux-crypto-643674b10f4c63d9ad0abd11ca2b46e1eba84db1.zip |
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>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/tcrypt.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 2af87978..58ad4fe5 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; |