From a6e795c3bd3c187f11bd6b10890c118b433a704c Mon Sep 17 00:00:00 2001 From: Jussi Kivilinna Date: Tue, 18 Oct 2011 13:33:38 +0300 Subject: [PATCH] --- yaml --- r: 283281 b: refs/heads/master c: 131f754161bc01fcf7fbbb08c754ed0e5a62b524 h: refs/heads/master i: 283279: e5cca2d7e97887b0fd54869d01f05dfd5e29117f v: v3 --- [refs] | 2 +- trunk/crypto/tcrypt.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 125e1fcb9c73..65c87bdfbd9b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: aed265b9fef4a6389e81b98b5c5eb5cd80ef5ead +refs/heads/master: 131f754161bc01fcf7fbbb08c754ed0e5a62b524 diff --git a/trunk/crypto/tcrypt.c b/trunk/crypto/tcrypt.c index a66459594bed..7736a9f05aba 100644 --- a/trunk/crypto/tcrypt.c +++ b/trunk/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: