Loading crypto/tcrypt.c +9 −0 Original line number Original line Diff line number Diff line Loading @@ -996,6 +996,7 @@ static int do_test(int m) ret += tcrypt_test("ecb(serpent)"); ret += tcrypt_test("ecb(serpent)"); ret += tcrypt_test("cbc(serpent)"); ret += tcrypt_test("cbc(serpent)"); ret += tcrypt_test("ctr(serpent)"); ret += tcrypt_test("ctr(serpent)"); ret += tcrypt_test("lrw(serpent)"); break; break; case 10: case 10: Loading Loading @@ -1305,6 +1306,10 @@ static int do_test(int m) speed_template_16_32); speed_template_16_32); test_cipher_speed("ctr(serpent)", DECRYPT, sec, NULL, 0, test_cipher_speed("ctr(serpent)", DECRYPT, sec, NULL, 0, speed_template_16_32); speed_template_16_32); test_cipher_speed("lrw(serpent)", ENCRYPT, sec, NULL, 0, speed_template_32_48); test_cipher_speed("lrw(serpent)", DECRYPT, sec, NULL, 0, speed_template_32_48); break; break; case 300: case 300: Loading Loading @@ -1521,6 +1526,10 @@ static int do_test(int m) speed_template_16_32); speed_template_16_32); test_acipher_speed("ctr(serpent)", DECRYPT, sec, NULL, 0, test_acipher_speed("ctr(serpent)", DECRYPT, sec, NULL, 0, speed_template_16_32); speed_template_16_32); test_acipher_speed("lrw(serpent)", ENCRYPT, sec, NULL, 0, speed_template_32_48); test_acipher_speed("lrw(serpent)", DECRYPT, sec, NULL, 0, speed_template_32_48); break; break; case 1000: case 1000: Loading crypto/tcrypt.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -51,6 +51,7 @@ static u8 speed_template_8_32[] = {8, 32, 0}; static u8 speed_template_16_32[] = {16, 32, 0}; static u8 speed_template_16_32[] = {16, 32, 0}; static u8 speed_template_16_24_32[] = {16, 24, 32, 0}; static u8 speed_template_16_24_32[] = {16, 24, 32, 0}; static u8 speed_template_32_40_48[] = {32, 40, 48, 0}; static u8 speed_template_32_40_48[] = {32, 40, 48, 0}; static u8 speed_template_32_48[] = {32, 48, 0}; static u8 speed_template_32_48_64[] = {32, 48, 64, 0}; static u8 speed_template_32_48_64[] = {32, 48, 64, 0}; /* /* Loading Loading
crypto/tcrypt.c +9 −0 Original line number Original line Diff line number Diff line Loading @@ -996,6 +996,7 @@ static int do_test(int m) ret += tcrypt_test("ecb(serpent)"); ret += tcrypt_test("ecb(serpent)"); ret += tcrypt_test("cbc(serpent)"); ret += tcrypt_test("cbc(serpent)"); ret += tcrypt_test("ctr(serpent)"); ret += tcrypt_test("ctr(serpent)"); ret += tcrypt_test("lrw(serpent)"); break; break; case 10: case 10: Loading Loading @@ -1305,6 +1306,10 @@ static int do_test(int m) speed_template_16_32); speed_template_16_32); test_cipher_speed("ctr(serpent)", DECRYPT, sec, NULL, 0, test_cipher_speed("ctr(serpent)", DECRYPT, sec, NULL, 0, speed_template_16_32); speed_template_16_32); test_cipher_speed("lrw(serpent)", ENCRYPT, sec, NULL, 0, speed_template_32_48); test_cipher_speed("lrw(serpent)", DECRYPT, sec, NULL, 0, speed_template_32_48); break; break; case 300: case 300: Loading Loading @@ -1521,6 +1526,10 @@ static int do_test(int m) speed_template_16_32); speed_template_16_32); test_acipher_speed("ctr(serpent)", DECRYPT, sec, NULL, 0, test_acipher_speed("ctr(serpent)", DECRYPT, sec, NULL, 0, speed_template_16_32); speed_template_16_32); test_acipher_speed("lrw(serpent)", ENCRYPT, sec, NULL, 0, speed_template_32_48); test_acipher_speed("lrw(serpent)", DECRYPT, sec, NULL, 0, speed_template_32_48); break; break; case 1000: case 1000: Loading
crypto/tcrypt.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -51,6 +51,7 @@ static u8 speed_template_8_32[] = {8, 32, 0}; static u8 speed_template_16_32[] = {16, 32, 0}; static u8 speed_template_16_32[] = {16, 32, 0}; static u8 speed_template_16_24_32[] = {16, 24, 32, 0}; static u8 speed_template_16_24_32[] = {16, 24, 32, 0}; static u8 speed_template_32_40_48[] = {32, 40, 48, 0}; static u8 speed_template_32_40_48[] = {32, 40, 48, 0}; static u8 speed_template_32_48[] = {32, 48, 0}; static u8 speed_template_32_48_64[] = {32, 48, 64, 0}; static u8 speed_template_32_48_64[] = {32, 48, 64, 0}; /* /* Loading