Lines Matching defs:iv_gen_ops
170 const struct crypt_iv_operations *iv_gen_ops;
1350 if (cc->iv_gen_ops) {
1355 r = cc->iv_gen_ops->generator(cc, org_iv, dmreq);
1392 if (!r && cc->iv_gen_ops && cc->iv_gen_ops->post)
1393 r = cc->iv_gen_ops->post(cc, org_iv, dmreq);
1443 if (cc->iv_gen_ops) {
1448 r = cc->iv_gen_ops->generator(cc, org_iv, dmreq);
1469 if (!r && cc->iv_gen_ops && cc->iv_gen_ops->post)
1470 r = cc->iv_gen_ops->post(cc, org_iv, dmreq);
2245 if (!error && cc->iv_gen_ops && cc->iv_gen_ops->post)
2246 error = cc->iv_gen_ops->post(cc, org_iv_of_dmreq(cc, dmreq), dmreq);
2703 if (cc->iv_gen_ops && cc->iv_gen_ops->wipe) {
2704 r = cc->iv_gen_ops->wipe(cc);
2787 if (cc->iv_gen_ops && cc->iv_gen_ops->dtr)
2788 cc->iv_gen_ops->dtr(cc);
2832 cc->iv_gen_ops = NULL;
2834 cc->iv_gen_ops = &crypt_iv_plain_ops;
2836 cc->iv_gen_ops = &crypt_iv_plain64_ops;
2838 cc->iv_gen_ops = &crypt_iv_plain64be_ops;
2840 cc->iv_gen_ops = &crypt_iv_essiv_ops;
2842 cc->iv_gen_ops = &crypt_iv_benbi_ops;
2844 cc->iv_gen_ops = &crypt_iv_null_ops;
2846 cc->iv_gen_ops = &crypt_iv_eboiv_ops;
2848 cc->iv_gen_ops = &crypt_iv_elephant_ops;
2855 cc->iv_gen_ops = &crypt_iv_lmk_ops;
2867 cc->iv_gen_ops = &crypt_iv_tcw_ops;
2871 cc->iv_gen_ops = &crypt_iv_random_ops;
3111 if (cc->iv_gen_ops && cc->iv_gen_ops->ctr) {
3112 ret = cc->iv_gen_ops->ctr(cc, ti, ivopts);
3120 if (cc->iv_gen_ops && cc->iv_gen_ops->init) {
3121 ret = cc->iv_gen_ops->init(cc);
3666 if (cc->iv_gen_ops && cc->iv_gen_ops->init)
3667 ret = cc->iv_gen_ops->init(cc);