crypto: ctr - make rfc3686 asynchronous block cipher
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / crypto / tcrypt.c
index 7ae2130e1b002890900907fc415b1eb51094e8a7..87ef7d66bc20e05d6247cb42de5372fcaea3c9f6 100644 (file)
@@ -1591,6 +1591,10 @@ static int do_test(int m)
                                   speed_template_16_24_32);
                test_acipher_speed("ofb(aes)", DECRYPT, sec, NULL, 0,
                                   speed_template_16_24_32);
+               test_acipher_speed("rfc3686(ctr(aes))", ENCRYPT, sec, NULL, 0,
+                                  speed_template_20_28_36);
+               test_acipher_speed("rfc3686(ctr(aes))", DECRYPT, sec, NULL, 0,
+                                  speed_template_20_28_36);
                break;
 
        case 501: