提交 bee3a90e 编写于 作者: J Jussi Kivilinna 提交者: Herbert Xu

crypto: tcrypt - add lrw(twofish) tests

Signed-off-by: NJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 0b2a1551
...@@ -990,6 +990,7 @@ static int do_test(int m) ...@@ -990,6 +990,7 @@ static int do_test(int m)
ret += tcrypt_test("ecb(twofish)"); ret += tcrypt_test("ecb(twofish)");
ret += tcrypt_test("cbc(twofish)"); ret += tcrypt_test("cbc(twofish)");
ret += tcrypt_test("ctr(twofish)"); ret += tcrypt_test("ctr(twofish)");
ret += tcrypt_test("lrw(twofish)");
break; break;
case 9: case 9:
...@@ -1249,6 +1250,10 @@ static int do_test(int m) ...@@ -1249,6 +1250,10 @@ static int do_test(int m)
speed_template_16_24_32); speed_template_16_24_32);
test_cipher_speed("ctr(twofish)", DECRYPT, sec, NULL, 0, test_cipher_speed("ctr(twofish)", DECRYPT, sec, NULL, 0,
speed_template_16_24_32); 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; break;
case 203: case 203:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册