summaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2012-10-20 14:53:07 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2012-10-24 21:10:52 +0800
commit8163fc30d1316c3ecf6f88bc49b44af4aeb2dbf2 (patch)
treea9ce23ea674015892def027cbf2d0277e4889dbb /crypto/tcrypt.c
parentc3b9e8f6a4e8d0cc734fd95a980d021e0853d1fd (diff)
downloadlinux-8163fc30d1316c3ecf6f88bc49b44af4aeb2dbf2.tar.bz2
crypto: testmgr - add new larger DES testvectors
Most DES testvectors are short and do not test parallelised codepaths well. Add larger testvectors to test large crypto operations and to test multi-page crypto with DES. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.c')
-rw-r--r--crypto/tcrypt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 7a3c4500f06d..631b9129130b 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -971,6 +971,7 @@ static int do_test(int m)
case 3:
ret += tcrypt_test("ecb(des)");
ret += tcrypt_test("cbc(des)");
+ ret += tcrypt_test("ctr(des)");
break;
case 4: