Lines Matching defs:ENCRYPT

49 #define ENCRYPT 1
156 if (enc == ENCRYPT)
268 if (enc == ENCRYPT)
549 if (enc == ENCRYPT)
973 if (enc == ENCRYPT)
1073 if (enc == ENCRYPT)
1306 if (enc == ENCRYPT)
1859 test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0,
1863 test_cipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0,
1867 test_cipher_speed("lrw(aes)", ENCRYPT, sec, NULL, 0,
1871 test_cipher_speed("xts(aes)", ENCRYPT, sec, NULL, 0,
1875 test_cipher_speed("cts(cbc(aes))", ENCRYPT, sec, NULL, 0,
1879 test_cipher_speed("ctr(aes)", ENCRYPT, sec, NULL, 0,
1883 test_cipher_speed("cfb(aes)", ENCRYPT, sec, NULL, 0,
1890 test_cipher_speed("ecb(des3_ede)", ENCRYPT, sec,
1896 test_cipher_speed("cbc(des3_ede)", ENCRYPT, sec,
1902 test_cipher_speed("ctr(des3_ede)", ENCRYPT, sec,
1911 test_cipher_speed("ecb(twofish)", ENCRYPT, sec, NULL, 0,
1915 test_cipher_speed("cbc(twofish)", ENCRYPT, sec, NULL, 0,
1919 test_cipher_speed("ctr(twofish)", ENCRYPT, sec, NULL, 0,
1923 test_cipher_speed("lrw(twofish)", ENCRYPT, sec, NULL, 0,
1927 test_cipher_speed("xts(twofish)", ENCRYPT, sec, NULL, 0,
1934 test_cipher_speed("ecb(blowfish)", ENCRYPT, sec, NULL, 0,
1938 test_cipher_speed("cbc(blowfish)", ENCRYPT, sec, NULL, 0,
1942 test_cipher_speed("ctr(blowfish)", ENCRYPT, sec, NULL, 0,
1949 test_cipher_speed("ecb(des)", ENCRYPT, sec, NULL, 0,
1953 test_cipher_speed("cbc(des)", ENCRYPT, sec, NULL, 0,
1960 test_cipher_speed("ecb(camellia)", ENCRYPT, sec, NULL, 0,
1964 test_cipher_speed("cbc(camellia)", ENCRYPT, sec, NULL, 0,
1968 test_cipher_speed("ctr(camellia)", ENCRYPT, sec, NULL, 0,
1972 test_cipher_speed("lrw(camellia)", ENCRYPT, sec, NULL, 0,
1976 test_cipher_speed("xts(camellia)", ENCRYPT, sec, NULL, 0,
1983 test_cipher_speed("ecb(serpent)", ENCRYPT, sec, NULL, 0,
1987 test_cipher_speed("cbc(serpent)", ENCRYPT, sec, NULL, 0,
1991 test_cipher_speed("ctr(serpent)", ENCRYPT, sec, NULL, 0,
1995 test_cipher_speed("lrw(serpent)", ENCRYPT, sec, NULL, 0,
1999 test_cipher_speed("xts(serpent)", ENCRYPT, sec, NULL, 0,
2006 test_cipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0,
2011 test_cipher_speed("ecb(cast5)", ENCRYPT, sec, NULL, 0,
2015 test_cipher_speed("cbc(cast5)", ENCRYPT, sec, NULL, 0,
2019 test_cipher_speed("ctr(cast5)", ENCRYPT, sec, NULL, 0,
2026 test_cipher_speed("ecb(cast6)", ENCRYPT, sec, NULL, 0,
2030 test_cipher_speed("cbc(cast6)", ENCRYPT, sec, NULL, 0,
2034 test_cipher_speed("ctr(cast6)", ENCRYPT, sec, NULL, 0,
2038 test_cipher_speed("lrw(cast6)", ENCRYPT, sec, NULL, 0,
2042 test_cipher_speed("xts(cast6)", ENCRYPT, sec, NULL, 0,
2049 test_aead_speed("rfc4106(gcm(aes))", ENCRYPT, sec,
2051 test_aead_speed("gcm(aes)", ENCRYPT, sec,
2060 test_aead_speed("rfc4309(ccm(aes))", ENCRYPT, sec,
2067 test_aead_speed("rfc7539esp(chacha20,poly1305)", ENCRYPT, sec,
2074 test_cipher_speed("chacha20", ENCRYPT, sec, NULL, 0,
2079 test_mb_aead_speed("rfc4106(gcm(aes))", ENCRYPT, sec, NULL,
2081 test_mb_aead_speed("gcm(aes)", ENCRYPT, sec, NULL, 0, 16, 8,
2090 test_mb_aead_speed("rfc4309(ccm(aes))", ENCRYPT, sec, NULL, 0,
2097 test_mb_aead_speed("rfc7539esp(chacha20,poly1305)", ENCRYPT,
2106 test_cipher_speed("ecb(sm4)", ENCRYPT, sec, NULL, 0,
2110 test_cipher_speed("cbc(sm4)", ENCRYPT, sec, NULL, 0,
2114 test_cipher_speed("cts(cbc(sm4))", ENCRYPT, sec, NULL, 0,
2118 test_cipher_speed("cfb(sm4)", ENCRYPT, sec, NULL, 0,
2122 test_cipher_speed("ctr(sm4)", ENCRYPT, sec, NULL, 0,
2126 test_cipher_speed("xts(sm4)", ENCRYPT, sec, NULL, 0,
2133 test_cipher_speed("adiantum(xchacha12,aes)", ENCRYPT, sec, NULL,
2137 test_cipher_speed("adiantum(xchacha20,aes)", ENCRYPT, sec, NULL,
2145 ENCRYPT, sec, NULL, 0,
2153 test_aead_speed("aegis128", ENCRYPT, sec,
2160 test_aead_speed("gcm(sm4)", ENCRYPT, sec,
2167 test_aead_speed("rfc4309(ccm(sm4))", ENCRYPT, sec,
2174 test_mb_aead_speed("gcm(sm4)", ENCRYPT, sec, NULL, 0, 16, 8,
2181 test_mb_aead_speed("rfc4309(ccm(sm4))", ENCRYPT, sec, NULL, 0,
2188 test_cipher_speed("hctr2(aes)", ENCRYPT, sec, NULL,
2193 test_cipher_speed("ecb(aria)", ENCRYPT, sec, NULL, 0,
2197 test_cipher_speed("cbc(aria)", ENCRYPT, sec, NULL, 0,
2201 test_cipher_speed("cfb(aria)", ENCRYPT, sec, NULL, 0,
2205 test_cipher_speed("ctr(aria)", ENCRYPT, sec, NULL, 0,
2212 test_aead_speed("gcm(aria)", ENCRYPT, sec,
2219 test_mb_aead_speed("gcm(aria)", ENCRYPT, sec, NULL, 0, 16, 8,
2415 test_acipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0,
2419 test_acipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0,
2423 test_acipher_speed("lrw(aes)", ENCRYPT, sec, NULL, 0,
2427 test_acipher_speed("xts(aes)", ENCRYPT, sec, NULL, 0,
2431 test_acipher_speed("cts(cbc(aes))", ENCRYPT, sec, NULL, 0,
2435 test_acipher_speed("ctr(aes)", ENCRYPT, sec, NULL, 0,
2439 test_acipher_speed("cfb(aes)", ENCRYPT, sec, NULL, 0,
2443 test_acipher_speed("ofb(aes)", ENCRYPT, sec, NULL, 0,
2447 test_acipher_speed("rfc3686(ctr(aes))", ENCRYPT, sec, NULL, 0,
2454 test_acipher_speed("ecb(des3_ede)", ENCRYPT, sec,
2460 test_acipher_speed("cbc(des3_ede)", ENCRYPT, sec,
2466 test_acipher_speed("cfb(des3_ede)", ENCRYPT, sec,
2472 test_acipher_speed("ofb(des3_ede)", ENCRYPT, sec,
2481 test_acipher_speed("ecb(des)", ENCRYPT, sec, NULL, 0,
2485 test_acipher_speed("cbc(des)", ENCRYPT, sec, NULL, 0,
2489 test_acipher_speed("cfb(des)", ENCRYPT, sec, NULL, 0,
2493 test_acipher_speed("ofb(des)", ENCRYPT, sec, NULL, 0,
2500 test_acipher_speed("ecb(serpent)", ENCRYPT, sec, NULL, 0,
2504 test_acipher_speed("cbc(serpent)", ENCRYPT, sec, NULL, 0,
2508 test_acipher_speed("ctr(serpent)", ENCRYPT, sec, NULL, 0,
2512 test_acipher_speed("lrw(serpent)", ENCRYPT, sec, NULL, 0,
2516 test_acipher_speed("xts(serpent)", ENCRYPT, sec, NULL, 0,
2523 test_acipher_speed("ecb(twofish)", ENCRYPT, sec, NULL, 0,
2527 test_acipher_speed("cbc(twofish)", ENCRYPT, sec, NULL, 0,
2531 test_acipher_speed("ctr(twofish)", ENCRYPT, sec, NULL, 0,
2535 test_acipher_speed("lrw(twofish)", ENCRYPT, sec, NULL, 0,
2539 test_acipher_speed("xts(twofish)", ENCRYPT, sec, NULL, 0,
2546 test_acipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0,
2551 test_acipher_speed("ecb(cast5)", ENCRYPT, sec, NULL, 0,
2555 test_acipher_speed("cbc(cast5)", ENCRYPT, sec, NULL, 0,
2559 test_acipher_speed("ctr(cast5)", ENCRYPT, sec, NULL, 0,
2566 test_acipher_speed("ecb(cast6)", ENCRYPT, sec, NULL, 0,
2570 test_acipher_speed("cbc(cast6)", ENCRYPT, sec, NULL, 0,
2574 test_acipher_speed("ctr(cast6)", ENCRYPT, sec, NULL, 0,
2578 test_acipher_speed("lrw(cast6)", ENCRYPT, sec, NULL, 0,
2582 test_acipher_speed("xts(cast6)", ENCRYPT, sec, NULL, 0,
2589 test_acipher_speed("ecb(camellia)", ENCRYPT, sec, NULL, 0,
2593 test_acipher_speed("cbc(camellia)", ENCRYPT, sec, NULL, 0,
2597 test_acipher_speed("ctr(camellia)", ENCRYPT, sec, NULL, 0,
2601 test_acipher_speed("lrw(camellia)", ENCRYPT, sec, NULL, 0,
2605 test_acipher_speed("xts(camellia)", ENCRYPT, sec, NULL, 0,
2612 test_acipher_speed("ecb(blowfish)", ENCRYPT, sec, NULL, 0,
2616 test_acipher_speed("cbc(blowfish)", ENCRYPT, sec, NULL, 0,
2620 test_acipher_speed("ctr(blowfish)", ENCRYPT, sec, NULL, 0,
2627 test_acipher_speed("ecb(sm4)", ENCRYPT, sec, NULL, 0,
2631 test_acipher_speed("cbc(sm4)", ENCRYPT, sec, NULL, 0,
2635 test_acipher_speed("cfb(sm4)", ENCRYPT, sec, NULL, 0,
2639 test_acipher_speed("ctr(sm4)", ENCRYPT, sec, NULL, 0,
2643 test_acipher_speed("xts(sm4)", ENCRYPT, sec, NULL, 0,
2650 test_acipher_speed("ecb(aria)", ENCRYPT, sec, NULL, 0,
2654 test_acipher_speed("ctr(aria)", ENCRYPT, sec, NULL, 0,
2661 test_mb_skcipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0,
2665 test_mb_skcipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0,
2669 test_mb_skcipher_speed("lrw(aes)", ENCRYPT, sec, NULL, 0,
2673 test_mb_skcipher_speed("xts(aes)", ENCRYPT, sec, NULL, 0,
2677 test_mb_skcipher_speed("cts(cbc(aes))", ENCRYPT, sec, NULL, 0,
2681 test_mb_skcipher_speed("ctr(aes)", ENCRYPT, sec, NULL, 0,
2685 test_mb_skcipher_speed("cfb(aes)", ENCRYPT, sec, NULL, 0,
2689 test_mb_skcipher_speed("ofb(aes)", ENCRYPT, sec, NULL, 0,
2693 test_mb_skcipher_speed("rfc3686(ctr(aes))", ENCRYPT, sec, NULL,
2700 test_mb_skcipher_speed("ecb(des3_ede)", ENCRYPT, sec,
2706 test_mb_skcipher_speed("cbc(des3_ede)", ENCRYPT, sec,
2712 test_mb_skcipher_speed("cfb(des3_ede)", ENCRYPT, sec,
2718 test_mb_skcipher_speed("ofb(des3_ede)", ENCRYPT, sec,
2727 test_mb_skcipher_speed("ecb(des)", ENCRYPT, sec, NULL, 0,
2731 test_mb_skcipher_speed("cbc(des)", ENCRYPT, sec, NULL, 0,
2735 test_mb_skcipher_speed("cfb(des)", ENCRYPT, sec, NULL, 0,
2739 test_mb_skcipher_speed("ofb(des)", ENCRYPT, sec, NULL, 0,
2746 test_mb_skcipher_speed("ecb(serpent)", ENCRYPT, sec, NULL, 0,
2750 test_mb_skcipher_speed("cbc(serpent)", ENCRYPT, sec, NULL, 0,
2754 test_mb_skcipher_speed("ctr(serpent)", ENCRYPT, sec, NULL, 0,
2758 test_mb_skcipher_speed("lrw(serpent)", ENCRYPT, sec, NULL, 0,
2762 test_mb_skcipher_speed("xts(serpent)", ENCRYPT, sec, NULL, 0,
2769 test_mb_skcipher_speed("ecb(twofish)", ENCRYPT, sec, NULL, 0,
2773 test_mb_skcipher_speed("cbc(twofish)", ENCRYPT, sec, NULL, 0,
2777 test_mb_skcipher_speed("ctr(twofish)", ENCRYPT, sec, NULL, 0,
2781 test_mb_skcipher_speed("lrw(twofish)", ENCRYPT, sec, NULL, 0,
2785 test_mb_skcipher_speed("xts(twofish)", ENCRYPT, sec, NULL, 0,
2792 test_mb_skcipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0,
2797 test_mb_skcipher_speed("ecb(cast5)", ENCRYPT, sec, NULL, 0,
2801 test_mb_skcipher_speed("cbc(cast5)", ENCRYPT, sec, NULL, 0,
2805 test_mb_skcipher_speed("ctr(cast5)", ENCRYPT, sec, NULL, 0,
2812 test_mb_skcipher_speed("ecb(cast6)", ENCRYPT, sec, NULL, 0,
2816 test_mb_skcipher_speed("cbc(cast6)", ENCRYPT, sec, NULL, 0,
2820 test_mb_skcipher_speed("ctr(cast6)", ENCRYPT, sec, NULL, 0,
2824 test_mb_skcipher_speed("lrw(cast6)", ENCRYPT, sec, NULL, 0,
2828 test_mb_skcipher_speed("xts(cast6)", ENCRYPT, sec, NULL, 0,
2835 test_mb_skcipher_speed("ecb(camellia)", ENCRYPT, sec, NULL, 0,
2839 test_mb_skcipher_speed("cbc(camellia)", ENCRYPT, sec, NULL, 0,
2843 test_mb_skcipher_speed("ctr(camellia)", ENCRYPT, sec, NULL, 0,
2847 test_mb_skcipher_speed("lrw(camellia)", ENCRYPT, sec, NULL, 0,
2851 test_mb_skcipher_speed("xts(camellia)", ENCRYPT, sec, NULL, 0,
2858 test_mb_skcipher_speed("ecb(blowfish)", ENCRYPT, sec, NULL, 0,
2862 test_mb_skcipher_speed("cbc(blowfish)", ENCRYPT, sec, NULL, 0,
2866 test_mb_skcipher_speed("ctr(blowfish)", ENCRYPT, sec, NULL, 0,
2873 test_mb_skcipher_speed("ecb(aria)", ENCRYPT, sec, NULL, 0,
2877 test_mb_skcipher_speed("ctr(aria)", ENCRYPT, sec, NULL, 0,