diff options
| -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 71b58c6e5c18..7ae2130e1b00 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c | |||
| @@ -1728,6 +1728,29 @@ static int do_test(int m) | |||
| 1728 | speed_template_32_64); | 1728 | speed_template_32_64); |
| 1729 | break; | 1729 | break; |
| 1730 | 1730 | ||
| 1731 | case 508: | ||
| 1732 | test_acipher_speed("ecb(camellia)", ENCRYPT, sec, NULL, 0, | ||
| 1733 | speed_template_16_32); | ||
| 1734 | test_acipher_speed("ecb(camellia)", DECRYPT, sec, NULL, 0, | ||
| 1735 | speed_template_16_32); | ||
| 1736 | test_acipher_speed("cbc(camellia)", ENCRYPT, sec, NULL, 0, | ||
| 1737 | speed_template_16_32); | ||
| 1738 | test_acipher_speed("cbc(camellia)", DECRYPT, sec, NULL, 0, | ||
| 1739 | speed_template_16_32); | ||
| 1740 | test_acipher_speed("ctr(camellia)", ENCRYPT, sec, NULL, 0, | ||
| 1741 | speed_template_16_32); | ||
| 1742 | test_acipher_speed("ctr(camellia)", DECRYPT, sec, NULL, 0, | ||
| 1743 | speed_template_16_32); | ||
| 1744 | test_acipher_speed("lrw(camellia)", ENCRYPT, sec, NULL, 0, | ||
| 1745 | speed_template_32_48); | ||
| 1746 | test_acipher_speed("lrw(camellia)", DECRYPT, sec, NULL, 0, | ||
| 1747 | speed_template_32_48); | ||
| 1748 | test_acipher_speed("xts(camellia)", ENCRYPT, sec, NULL, 0, | ||
| 1749 | speed_template_32_64); | ||
| 1750 | test_acipher_speed("xts(camellia)", DECRYPT, sec, NULL, 0, | ||
| 1751 | speed_template_32_64); | ||
| 1752 | break; | ||
| 1753 | |||
| 1731 | case 1000: | 1754 | case 1000: |
| 1732 | test_available(); | 1755 | test_available(); |
| 1733 | break; | 1756 | break; |
