Skip to content

Commit bee3a90

Browse files
jkivilinherbertx
authored andcommitted
crypto: tcrypt - add lrw(twofish) tests
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 0b2a155 commit bee3a90

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎crypto/tcrypt.c‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,7 @@ static int do_test(int m)
990990
ret += tcrypt_test("ecb(twofish)");
991991
ret += tcrypt_test("cbc(twofish)");
992992
ret += tcrypt_test("ctr(twofish)");
993+
ret += tcrypt_test("lrw(twofish)");
993994
break;
994995

995996
case 9:
@@ -1249,6 +1250,10 @@ static int do_test(int m)
12491250
speed_template_16_24_32);
12501251
test_cipher_speed("ctr(twofish)", DECRYPT, sec, NULL, 0,
12511252
speed_template_16_24_32);
1253+
test_cipher_speed("lrw(twofish)", ENCRYPT, sec, NULL, 0,
1254+
speed_template_32_40_48);
1255+
test_cipher_speed("lrw(twofish)", DECRYPT, sec, NULL, 0,
1256+
speed_template_32_40_48);
12521257
break;
12531258

12541259
case 203:

0 commit comments

Comments
 (0)