Lines Matching defs:ENCRYPT
57 #define ENCRYPT 1
231 if (enc == ENCRYPT)
497 if (enc == ENCRYPT)
894 test_cipher("ecb(des)", ENCRYPT, des_enc_tv_template,
898 test_cipher("cbc(des)", ENCRYPT, des_cbc_enc_tv_template,
904 test_cipher("ecb(des3_ede)", ENCRYPT, des3_ede_enc_tv_template,
914 test_cipher("ecb(blowfish)", ENCRYPT, bf_enc_tv_template,
918 test_cipher("cbc(blowfish)", ENCRYPT, bf_cbc_enc_tv_template,
924 test_cipher("ecb(twofish)", ENCRYPT, tf_enc_tv_template,
928 test_cipher("cbc(twofish)", ENCRYPT, tf_cbc_enc_tv_template,
934 test_cipher("ecb(serpent)", ENCRYPT, serpent_enc_tv_template,
940 test_cipher("ecb(tnepres)", ENCRYPT, tnepres_enc_tv_template,
946 test_cipher("ecb(aes)", ENCRYPT, aes_enc_tv_template,
950 test_cipher("cbc(aes)", ENCRYPT, aes_cbc_enc_tv_template,
954 test_cipher("lrw(aes)", ENCRYPT, aes_lrw_enc_tv_template,
960 test_cipher("ecb(cast5)", ENCRYPT, cast5_enc_tv_template,
966 test_cipher("ecb(cast6)", ENCRYPT, cast6_enc_tv_template,
972 test_cipher("ecb(arc4)", ENCRYPT, arc4_enc_tv_template,
978 test_cipher("ecb(tea)", ENCRYPT, tea_enc_tv_template,
985 test_cipher("ecb(xtea)", ENCRYPT, xtea_enc_tv_template,
991 test_cipher("ecb(khazad)", ENCRYPT, khazad_enc_tv_template,
997 test_cipher("ecb(anubis)", ENCRYPT, anubis_enc_tv_template,
1001 test_cipher("cbc(anubis)", ENCRYPT, anubis_cbc_enc_tv_template,
1007 test_cipher("ecb(xeta)", ENCRYPT, xeta_enc_tv_template,
1013 test_cipher("pcbc(fcrypt)", ENCRYPT, fcrypt_pcbc_enc_tv_template,
1019 test_cipher("ecb(camellia)", ENCRYPT,
1025 test_cipher("cbc(camellia)", ENCRYPT,
1068 test_cipher("ecb(des)", ENCRYPT, des_enc_tv_template,
1072 test_cipher("cbc(des)", ENCRYPT, des_cbc_enc_tv_template,
1079 test_cipher("ecb(des3_ede)", ENCRYPT, des3_ede_enc_tv_template,
1094 test_cipher("ecb(blowfish)", ENCRYPT, bf_enc_tv_template,
1098 test_cipher("cbc(blowfish)", ENCRYPT, bf_cbc_enc_tv_template,
1105 test_cipher("ecb(twofish)", ENCRYPT, tf_enc_tv_template,
1109 test_cipher("cbc(twofish)", ENCRYPT, tf_cbc_enc_tv_template,
1116 test_cipher("ecb(serpent)", ENCRYPT, serpent_enc_tv_template,
1123 test_cipher("ecb(aes)", ENCRYPT, aes_enc_tv_template,
1127 test_cipher("cbc(aes)", ENCRYPT, aes_cbc_enc_tv_template,
1131 test_cipher("lrw(aes)", ENCRYPT, aes_lrw_enc_tv_template,
1150 test_cipher("ecb(cast5)", ENCRYPT, cast5_enc_tv_template,
1157 test_cipher("ecb(cast6)", ENCRYPT, cast6_enc_tv_template,
1164 test_cipher("ecb(arc4)", ENCRYPT, arc4_enc_tv_template,
1179 test_cipher("ecb(tea)", ENCRYPT, tea_enc_tv_template,
1186 test_cipher("ecb(xtea)", ENCRYPT, xtea_enc_tv_template,
1193 test_cipher("ecb(khazad)", ENCRYPT, khazad_enc_tv_template,
1212 test_cipher("ecb(tnepres)", ENCRYPT, tnepres_enc_tv_template,
1219 test_cipher("ecb(anubis)", ENCRYPT, anubis_enc_tv_template,
1223 test_cipher("cbc(anubis)", ENCRYPT, anubis_cbc_enc_tv_template,
1243 test_cipher("ecb(xeta)", ENCRYPT, xeta_enc_tv_template,
1250 test_cipher("pcbc(fcrypt)", ENCRYPT, fcrypt_pcbc_enc_tv_template,
1257 test_cipher("ecb(camellia)", ENCRYPT,
1263 test_cipher("cbc(camellia)", ENCRYPT,
1298 test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0,
1302 test_cipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0,
1306 test_cipher_speed("lrw(aes)", ENCRYPT, sec, NULL, 0,
1313 test_cipher_speed("ecb(des3_ede)", ENCRYPT, sec,
1321 test_cipher_speed("cbc(des3_ede)", ENCRYPT, sec,
1332 test_cipher_speed("ecb(twofish)", ENCRYPT, sec, NULL, 0,
1336 test_cipher_speed("cbc(twofish)", ENCRYPT, sec, NULL, 0,
1343 test_cipher_speed("ecb(blowfish)", ENCRYPT, sec, NULL, 0,
1347 test_cipher_speed("cbc(blowfish)", ENCRYPT, sec, NULL, 0,
1354 test_cipher_speed("ecb(des)", ENCRYPT, sec, NULL, 0,
1358 test_cipher_speed("cbc(des)", ENCRYPT, sec, NULL, 0,
1365 test_cipher_speed("ecb(camellia)", ENCRYPT, sec, NULL, 0,
1369 test_cipher_speed("cbc(camellia)", ENCRYPT, sec, NULL, 0,