diff options
Diffstat (limited to 'crypto/tcrypt.c')
-rw-r--r-- | crypto/tcrypt.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 750cce44bad6..2af879786e75 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c | |||
@@ -1566,6 +1566,29 @@ static int do_test(int m) | |||
1566 | speed_template_32_64); | 1566 | speed_template_32_64); |
1567 | break; | 1567 | break; |
1568 | 1568 | ||
1569 | case 504: | ||
1570 | test_acipher_speed("ecb(twofish)", ENCRYPT, sec, NULL, 0, | ||
1571 | speed_template_16_24_32); | ||
1572 | test_acipher_speed("ecb(twofish)", DECRYPT, sec, NULL, 0, | ||
1573 | speed_template_16_24_32); | ||
1574 | test_acipher_speed("cbc(twofish)", ENCRYPT, sec, NULL, 0, | ||
1575 | speed_template_16_24_32); | ||
1576 | test_acipher_speed("cbc(twofish)", DECRYPT, sec, NULL, 0, | ||
1577 | speed_template_16_24_32); | ||
1578 | test_acipher_speed("ctr(twofish)", ENCRYPT, sec, NULL, 0, | ||
1579 | speed_template_16_24_32); | ||
1580 | test_acipher_speed("ctr(twofish)", DECRYPT, sec, NULL, 0, | ||
1581 | speed_template_16_24_32); | ||
1582 | test_acipher_speed("lrw(twofish)", ENCRYPT, sec, NULL, 0, | ||
1583 | speed_template_32_40_48); | ||
1584 | test_acipher_speed("lrw(twofish)", DECRYPT, sec, NULL, 0, | ||
1585 | speed_template_32_40_48); | ||
1586 | test_acipher_speed("xts(twofish)", ENCRYPT, sec, NULL, 0, | ||
1587 | speed_template_32_48_64); | ||
1588 | test_acipher_speed("xts(twofish)", DECRYPT, sec, NULL, 0, | ||
1589 | speed_template_32_48_64); | ||
1590 | break; | ||
1591 | |||
1569 | case 1000: | 1592 | case 1000: |
1570 | test_available(); | 1593 | test_available(); |
1571 | break; | 1594 | break; |