Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jussi Kivilinna and committed by
Herbert Xu
bee3a90e 0b2a1551

+5
+5
crypto/tcrypt.c
··· 990 990 ret += tcrypt_test("ecb(twofish)"); 991 991 ret += tcrypt_test("cbc(twofish)"); 992 992 ret += tcrypt_test("ctr(twofish)"); 993 + ret += tcrypt_test("lrw(twofish)"); 993 994 break; 994 995 995 996 case 9: ··· 1250 1249 speed_template_16_24_32); 1251 1250 test_cipher_speed("ctr(twofish)", DECRYPT, sec, NULL, 0, 1252 1251 speed_template_16_24_32); 1252 + test_cipher_speed("lrw(twofish)", ENCRYPT, sec, NULL, 0, 1253 + speed_template_32_40_48); 1254 + test_cipher_speed("lrw(twofish)", DECRYPT, sec, NULL, 0, 1255 + speed_template_32_40_48); 1253 1256 break; 1254 1257 1255 1258 case 203: