Lines Matching defs:iv_gen_ops
163 const struct crypt_iv_operations *iv_gen_ops;
1334 if (cc->iv_gen_ops) {
1339 r = cc->iv_gen_ops->generator(cc, org_iv, dmreq);
1370 if (!r && cc->iv_gen_ops && cc->iv_gen_ops->post)
1371 r = cc->iv_gen_ops->post(cc, org_iv, dmreq);
1421 if (cc->iv_gen_ops) {
1426 r = cc->iv_gen_ops->generator(cc, org_iv, dmreq);
1447 if (!r && cc->iv_gen_ops && cc->iv_gen_ops->post)
1448 r = cc->iv_gen_ops->post(cc, org_iv, dmreq);
2173 if (!error && cc->iv_gen_ops && cc->iv_gen_ops->post)
2174 error = cc->iv_gen_ops->post(cc, org_iv_of_dmreq(cc, dmreq), dmreq);
2618 if (cc->iv_gen_ops && cc->iv_gen_ops->wipe) {
2619 r = cc->iv_gen_ops->wipe(cc);
2702 if (cc->iv_gen_ops && cc->iv_gen_ops->dtr)
2703 cc->iv_gen_ops->dtr(cc);
2745 cc->iv_gen_ops = NULL;
2747 cc->iv_gen_ops = &crypt_iv_plain_ops;
2749 cc->iv_gen_ops = &crypt_iv_plain64_ops;
2751 cc->iv_gen_ops = &crypt_iv_plain64be_ops;
2753 cc->iv_gen_ops = &crypt_iv_essiv_ops;
2755 cc->iv_gen_ops = &crypt_iv_benbi_ops;
2757 cc->iv_gen_ops = &crypt_iv_null_ops;
2759 cc->iv_gen_ops = &crypt_iv_eboiv_ops;
2761 cc->iv_gen_ops = &crypt_iv_elephant_ops;
2768 cc->iv_gen_ops = &crypt_iv_lmk_ops;
2780 cc->iv_gen_ops = &crypt_iv_tcw_ops;
2784 cc->iv_gen_ops = &crypt_iv_random_ops;
3024 if (cc->iv_gen_ops && cc->iv_gen_ops->ctr) {
3025 ret = cc->iv_gen_ops->ctr(cc, ti, ivopts);
3033 if (cc->iv_gen_ops && cc->iv_gen_ops->init) {
3034 ret = cc->iv_gen_ops->init(cc);
3534 if (cc->iv_gen_ops && cc->iv_gen_ops->init)
3535 ret = cc->iv_gen_ops->init(cc);