Lines Matching full:encrypt
49 #define ENCRYPT 1 macro
156 if (enc == ENCRYPT) in do_mult_aead_op()
268 if (enc == ENCRYPT) in test_mb_aead_speed()
549 if (enc == ENCRYPT) in test_aead_speed()
973 if (enc == ENCRYPT) in do_mult_acipher_op()
1073 if (enc == ENCRYPT) in test_mb_skcipher_speed()
1306 if (enc == ENCRYPT) in test_skcipher_speed()
1854 test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0, in do_test()
1858 test_cipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0, in do_test()
1862 test_cipher_speed("lrw(aes)", ENCRYPT, sec, NULL, 0, in do_test()
1866 test_cipher_speed("xts(aes)", ENCRYPT, sec, NULL, 0, in do_test()
1870 test_cipher_speed("cts(cbc(aes))", ENCRYPT, sec, NULL, 0, in do_test()
1874 test_cipher_speed("ctr(aes)", ENCRYPT, sec, NULL, 0, in do_test()
1881 test_cipher_speed("ecb(des3_ede)", ENCRYPT, sec, in do_test()
1887 test_cipher_speed("cbc(des3_ede)", ENCRYPT, sec, in do_test()
1893 test_cipher_speed("ctr(des3_ede)", ENCRYPT, sec, in do_test()
1902 test_cipher_speed("ecb(twofish)", ENCRYPT, sec, NULL, 0, in do_test()
1906 test_cipher_speed("cbc(twofish)", ENCRYPT, sec, NULL, 0, in do_test()
1910 test_cipher_speed("ctr(twofish)", ENCRYPT, sec, NULL, 0, in do_test()
1914 test_cipher_speed("lrw(twofish)", ENCRYPT, sec, NULL, 0, in do_test()
1918 test_cipher_speed("xts(twofish)", ENCRYPT, sec, NULL, 0, in do_test()
1925 test_cipher_speed("ecb(blowfish)", ENCRYPT, sec, NULL, 0, in do_test()
1929 test_cipher_speed("cbc(blowfish)", ENCRYPT, sec, NULL, 0, in do_test()
1933 test_cipher_speed("ctr(blowfish)", ENCRYPT, sec, NULL, 0, in do_test()
1940 test_cipher_speed("ecb(des)", ENCRYPT, sec, NULL, 0, in do_test()
1944 test_cipher_speed("cbc(des)", ENCRYPT, sec, NULL, 0, in do_test()
1951 test_cipher_speed("ecb(camellia)", ENCRYPT, sec, NULL, 0, in do_test()
1955 test_cipher_speed("cbc(camellia)", ENCRYPT, sec, NULL, 0, in do_test()
1959 test_cipher_speed("ctr(camellia)", ENCRYPT, sec, NULL, 0, in do_test()
1963 test_cipher_speed("lrw(camellia)", ENCRYPT, sec, NULL, 0, in do_test()
1967 test_cipher_speed("xts(camellia)", ENCRYPT, sec, NULL, 0, in do_test()
1974 test_cipher_speed("ecb(serpent)", ENCRYPT, sec, NULL, 0, in do_test()
1978 test_cipher_speed("cbc(serpent)", ENCRYPT, sec, NULL, 0, in do_test()
1982 test_cipher_speed("ctr(serpent)", ENCRYPT, sec, NULL, 0, in do_test()
1986 test_cipher_speed("lrw(serpent)", ENCRYPT, sec, NULL, 0, in do_test()
1990 test_cipher_speed("xts(serpent)", ENCRYPT, sec, NULL, 0, in do_test()
1997 test_cipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0, in do_test()
2002 test_cipher_speed("ecb(cast5)", ENCRYPT, sec, NULL, 0, in do_test()
2006 test_cipher_speed("cbc(cast5)", ENCRYPT, sec, NULL, 0, in do_test()
2010 test_cipher_speed("ctr(cast5)", ENCRYPT, sec, NULL, 0, in do_test()
2017 test_cipher_speed("ecb(cast6)", ENCRYPT, sec, NULL, 0, in do_test()
2021 test_cipher_speed("cbc(cast6)", ENCRYPT, sec, NULL, 0, in do_test()
2025 test_cipher_speed("ctr(cast6)", ENCRYPT, sec, NULL, 0, in do_test()
2029 test_cipher_speed("lrw(cast6)", ENCRYPT, sec, NULL, 0, in do_test()
2033 test_cipher_speed("xts(cast6)", ENCRYPT, sec, NULL, 0, in do_test()
2040 test_aead_speed("rfc4106(gcm(aes))", ENCRYPT, sec, in do_test()
2042 test_aead_speed("gcm(aes)", ENCRYPT, sec, in do_test()
2051 test_aead_speed("rfc4309(ccm(aes))", ENCRYPT, sec, in do_test()
2058 test_aead_speed("rfc7539esp(chacha20,poly1305)", ENCRYPT, sec, in do_test()
2065 test_cipher_speed("chacha20", ENCRYPT, sec, NULL, 0, in do_test()
2070 test_mb_aead_speed("rfc4106(gcm(aes))", ENCRYPT, sec, NULL, in do_test()
2072 test_mb_aead_speed("gcm(aes)", ENCRYPT, sec, NULL, 0, 16, 8, in do_test()
2081 test_mb_aead_speed("rfc4309(ccm(aes))", ENCRYPT, sec, NULL, 0, in do_test()
2088 test_mb_aead_speed("rfc7539esp(chacha20,poly1305)", ENCRYPT, in do_test()
2097 test_cipher_speed("ecb(sm4)", ENCRYPT, sec, NULL, 0, in do_test()
2101 test_cipher_speed("cbc(sm4)", ENCRYPT, sec, NULL, 0, in do_test()
2105 test_cipher_speed("cts(cbc(sm4))", ENCRYPT, sec, NULL, 0, in do_test()
2109 test_cipher_speed("ctr(sm4)", ENCRYPT, sec, NULL, 0, in do_test()
2113 test_cipher_speed("xts(sm4)", ENCRYPT, sec, NULL, 0, in do_test()
2120 test_cipher_speed("adiantum(xchacha12,aes)", ENCRYPT, sec, NULL, in do_test()
2124 test_cipher_speed("adiantum(xchacha20,aes)", ENCRYPT, sec, NULL, in do_test()
2132 ENCRYPT, sec, NULL, 0, in do_test()
2140 test_aead_speed("aegis128", ENCRYPT, sec, in do_test()
2147 test_aead_speed("gcm(sm4)", ENCRYPT, sec, in do_test()
2154 test_aead_speed("rfc4309(ccm(sm4))", ENCRYPT, sec, in do_test()
2161 test_mb_aead_speed("gcm(sm4)", ENCRYPT, sec, NULL, 0, 16, 8, in do_test()
2168 test_mb_aead_speed("rfc4309(ccm(sm4))", ENCRYPT, sec, NULL, 0, in do_test()
2175 test_cipher_speed("hctr2(aes)", ENCRYPT, sec, NULL, in do_test()
2180 test_cipher_speed("ecb(aria)", ENCRYPT, sec, NULL, 0, in do_test()
2184 test_cipher_speed("cbc(aria)", ENCRYPT, sec, NULL, 0, in do_test()
2188 test_cipher_speed("ctr(aria)", ENCRYPT, sec, NULL, 0, in do_test()
2195 test_aead_speed("gcm(aria)", ENCRYPT, sec, in do_test()
2202 test_mb_aead_speed("gcm(aria)", ENCRYPT, sec, NULL, 0, 16, 8, in do_test()
2398 test_acipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0, in do_test()
2402 test_acipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0, in do_test()
2406 test_acipher_speed("lrw(aes)", ENCRYPT, sec, NULL, 0, in do_test()
2410 test_acipher_speed("xts(aes)", ENCRYPT, sec, NULL, 0, in do_test()
2414 test_acipher_speed("cts(cbc(aes))", ENCRYPT, sec, NULL, 0, in do_test()
2418 test_acipher_speed("ctr(aes)", ENCRYPT, sec, NULL, 0, in do_test()
2422 test_acipher_speed("rfc3686(ctr(aes))", ENCRYPT, sec, NULL, 0, in do_test()
2429 test_acipher_speed("ecb(des3_ede)", ENCRYPT, sec, in do_test()
2435 test_acipher_speed("cbc(des3_ede)", ENCRYPT, sec, in do_test()
2444 test_acipher_speed("ecb(des)", ENCRYPT, sec, NULL, 0, in do_test()
2448 test_acipher_speed("cbc(des)", ENCRYPT, sec, NULL, 0, in do_test()
2455 test_acipher_speed("ecb(serpent)", ENCRYPT, sec, NULL, 0, in do_test()
2459 test_acipher_speed("cbc(serpent)", ENCRYPT, sec, NULL, 0, in do_test()
2463 test_acipher_speed("ctr(serpent)", ENCRYPT, sec, NULL, 0, in do_test()
2467 test_acipher_speed("lrw(serpent)", ENCRYPT, sec, NULL, 0, in do_test()
2471 test_acipher_speed("xts(serpent)", ENCRYPT, sec, NULL, 0, in do_test()
2478 test_acipher_speed("ecb(twofish)", ENCRYPT, sec, NULL, 0, in do_test()
2482 test_acipher_speed("cbc(twofish)", ENCRYPT, sec, NULL, 0, in do_test()
2486 test_acipher_speed("ctr(twofish)", ENCRYPT, sec, NULL, 0, in do_test()
2490 test_acipher_speed("lrw(twofish)", ENCRYPT, sec, NULL, 0, in do_test()
2494 test_acipher_speed("xts(twofish)", ENCRYPT, sec, NULL, 0, in do_test()
2501 test_acipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0, in do_test()
2506 test_acipher_speed("ecb(cast5)", ENCRYPT, sec, NULL, 0, in do_test()
2510 test_acipher_speed("cbc(cast5)", ENCRYPT, sec, NULL, 0, in do_test()
2514 test_acipher_speed("ctr(cast5)", ENCRYPT, sec, NULL, 0, in do_test()
2521 test_acipher_speed("ecb(cast6)", ENCRYPT, sec, NULL, 0, in do_test()
2525 test_acipher_speed("cbc(cast6)", ENCRYPT, sec, NULL, 0, in do_test()
2529 test_acipher_speed("ctr(cast6)", ENCRYPT, sec, NULL, 0, in do_test()
2533 test_acipher_speed("lrw(cast6)", ENCRYPT, sec, NULL, 0, in do_test()
2537 test_acipher_speed("xts(cast6)", ENCRYPT, sec, NULL, 0, in do_test()
2544 test_acipher_speed("ecb(camellia)", ENCRYPT, sec, NULL, 0, in do_test()
2548 test_acipher_speed("cbc(camellia)", ENCRYPT, sec, NULL, 0, in do_test()
2552 test_acipher_speed("ctr(camellia)", ENCRYPT, sec, NULL, 0, in do_test()
2556 test_acipher_speed("lrw(camellia)", ENCRYPT, sec, NULL, 0, in do_test()
2560 test_acipher_speed("xts(camellia)", ENCRYPT, sec, NULL, 0, in do_test()
2567 test_acipher_speed("ecb(blowfish)", ENCRYPT, sec, NULL, 0, in do_test()
2571 test_acipher_speed("cbc(blowfish)", ENCRYPT, sec, NULL, 0, in do_test()
2575 test_acipher_speed("ctr(blowfish)", ENCRYPT, sec, NULL, 0, in do_test()
2582 test_acipher_speed("ecb(sm4)", ENCRYPT, sec, NULL, 0, in do_test()
2586 test_acipher_speed("cbc(sm4)", ENCRYPT, sec, NULL, 0, in do_test()
2590 test_acipher_speed("ctr(sm4)", ENCRYPT, sec, NULL, 0, in do_test()
2594 test_acipher_speed("xts(sm4)", ENCRYPT, sec, NULL, 0, in do_test()
2601 test_acipher_speed("ecb(aria)", ENCRYPT, sec, NULL, 0, in do_test()
2605 test_acipher_speed("ctr(aria)", ENCRYPT, sec, NULL, 0, in do_test()
2614 test_mb_skcipher_speed(alg, ENCRYPT, sec, NULL, 0, in do_test()
2621 test_mb_skcipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0, in do_test()
2625 test_mb_skcipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0, in do_test()
2629 test_mb_skcipher_speed("lrw(aes)", ENCRYPT, sec, NULL, 0, in do_test()
2633 test_mb_skcipher_speed("xts(aes)", ENCRYPT, sec, NULL, 0, in do_test()
2637 test_mb_skcipher_speed("cts(cbc(aes))", ENCRYPT, sec, NULL, 0, in do_test()
2641 test_mb_skcipher_speed("ctr(aes)", ENCRYPT, sec, NULL, 0, in do_test()
2645 test_mb_skcipher_speed("rfc3686(ctr(aes))", ENCRYPT, sec, NULL, in do_test()
2652 test_mb_skcipher_speed("ecb(des3_ede)", ENCRYPT, sec, in do_test()
2658 test_mb_skcipher_speed("cbc(des3_ede)", ENCRYPT, sec, in do_test()
2667 test_mb_skcipher_speed("ecb(des)", ENCRYPT, sec, NULL, 0, in do_test()
2671 test_mb_skcipher_speed("cbc(des)", ENCRYPT, sec, NULL, 0, in do_test()
2678 test_mb_skcipher_speed("ecb(serpent)", ENCRYPT, sec, NULL, 0, in do_test()
2682 test_mb_skcipher_speed("cbc(serpent)", ENCRYPT, sec, NULL, 0, in do_test()
2686 test_mb_skcipher_speed("ctr(serpent)", ENCRYPT, sec, NULL, 0, in do_test()
2690 test_mb_skcipher_speed("lrw(serpent)", ENCRYPT, sec, NULL, 0, in do_test()
2694 test_mb_skcipher_speed("xts(serpent)", ENCRYPT, sec, NULL, 0, in do_test()
2701 test_mb_skcipher_speed("ecb(twofish)", ENCRYPT, sec, NULL, 0, in do_test()
2705 test_mb_skcipher_speed("cbc(twofish)", ENCRYPT, sec, NULL, 0, in do_test()
2709 test_mb_skcipher_speed("ctr(twofish)", ENCRYPT, sec, NULL, 0, in do_test()
2713 test_mb_skcipher_speed("lrw(twofish)", ENCRYPT, sec, NULL, 0, in do_test()
2717 test_mb_skcipher_speed("xts(twofish)", ENCRYPT, sec, NULL, 0, in do_test()
2724 test_mb_skcipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0, in do_test()
2729 test_mb_skcipher_speed("ecb(cast5)", ENCRYPT, sec, NULL, 0, in do_test()
2733 test_mb_skcipher_speed("cbc(cast5)", ENCRYPT, sec, NULL, 0, in do_test()
2737 test_mb_skcipher_speed("ctr(cast5)", ENCRYPT, sec, NULL, 0, in do_test()
2744 test_mb_skcipher_speed("ecb(cast6)", ENCRYPT, sec, NULL, 0, in do_test()
2748 test_mb_skcipher_speed("cbc(cast6)", ENCRYPT, sec, NULL, 0, in do_test()
2752 test_mb_skcipher_speed("ctr(cast6)", ENCRYPT, sec, NULL, 0, in do_test()
2756 test_mb_skcipher_speed("lrw(cast6)", ENCRYPT, sec, NULL, 0, in do_test()
2760 test_mb_skcipher_speed("xts(cast6)", ENCRYPT, sec, NULL, 0, in do_test()
2767 test_mb_skcipher_speed("ecb(camellia)", ENCRYPT, sec, NULL, 0, in do_test()
2771 test_mb_skcipher_speed("cbc(camellia)", ENCRYPT, sec, NULL, 0, in do_test()
2775 test_mb_skcipher_speed("ctr(camellia)", ENCRYPT, sec, NULL, 0, in do_test()
2779 test_mb_skcipher_speed("lrw(camellia)", ENCRYPT, sec, NULL, 0, in do_test()
2783 test_mb_skcipher_speed("xts(camellia)", ENCRYPT, sec, NULL, 0, in do_test()
2790 test_mb_skcipher_speed("ecb(blowfish)", ENCRYPT, sec, NULL, 0, in do_test()
2794 test_mb_skcipher_speed("cbc(blowfish)", ENCRYPT, sec, NULL, 0, in do_test()
2798 test_mb_skcipher_speed("ctr(blowfish)", ENCRYPT, sec, NULL, 0, in do_test()
2805 test_mb_skcipher_speed("ecb(aria)", ENCRYPT, sec, NULL, 0, in do_test()
2809 test_mb_skcipher_speed("ctr(aria)", ENCRYPT, sec, NULL, 0, in do_test()