projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aed265b
)
crypto: tcrypt - add xts(twofish) tests
author
Jussi Kivilinna
<jussi.kivilinna@mbnet.fi>
Tue, 18 Oct 2011 10:33:38 +0000
(13:33 +0300)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 9 Nov 2011 03:57:56 +0000
(11:57 +0800)
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c
patch
|
blob
|
history
diff --git
a/crypto/tcrypt.c
b/crypto/tcrypt.c
index
a664595
..
7736a9f
100644
(file)
--- a/
crypto/tcrypt.c
+++ b/
crypto/tcrypt.c
@@
-991,6
+991,7
@@
static int do_test(int m)
ret += tcrypt_test("cbc(twofish)");
ret += tcrypt_test("ctr(twofish)");
ret += tcrypt_test("lrw(twofish)");
+ ret += tcrypt_test("xts(twofish)");
break;
case 9:
@@
-1255,6
+1256,10
@@
static int do_test(int m)
speed_template_32_40_48);
test_cipher_speed("lrw(twofish)", DECRYPT, sec, NULL, 0,
speed_template_32_40_48);
+ test_cipher_speed("xts(twofish)", ENCRYPT, sec, NULL, 0,
+ speed_template_32_48_64);
+ test_cipher_speed("xts(twofish)", DECRYPT, sec, NULL, 0,
+ speed_template_32_48_64);
break;
case 203: