From b40eb417c65b4ad0a7611a431435a8475de4cce2 Mon Sep 17 00:00:00 2001 From: Jussi Kivilinna Date: Tue, 18 Oct 2011 13:32:56 +0300 Subject: [PATCH] --- yaml --- r: 283274 b: refs/heads/master c: bee3a90ef5366b58250e4369dac3268ced3351aa h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/crypto/tcrypt.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index bbd57f7dac08..ab543becf7e7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0b2a15510699754b7c777a0f17520f1960c0d13a +refs/heads/master: bee3a90ef5366b58250e4369dac3268ced3351aa diff --git a/trunk/crypto/tcrypt.c b/trunk/crypto/tcrypt.c index 9a9e170035d1..01203833ccc2 100644 --- a/trunk/crypto/tcrypt.c +++ b/trunk/crypto/tcrypt.c @@ -990,6 +990,7 @@ static int do_test(int m) ret += tcrypt_test("ecb(twofish)"); ret += tcrypt_test("cbc(twofish)"); ret += tcrypt_test("ctr(twofish)"); + ret += tcrypt_test("lrw(twofish)"); break; case 9: @@ -1249,6 +1250,10 @@ static int do_test(int m) speed_template_16_24_32); test_cipher_speed("ctr(twofish)", DECRYPT, sec, NULL, 0, speed_template_16_24_32); + test_cipher_speed("lrw(twofish)", ENCRYPT, sec, NULL, 0, + speed_template_32_40_48); + test_cipher_speed("lrw(twofish)", DECRYPT, sec, NULL, 0, + speed_template_32_40_48); break; case 203: