Lines Matching refs:iv_gen_ops
161 const struct crypt_iv_operations *iv_gen_ops; member
1332 if (cc->iv_gen_ops) { in crypt_convert_block_aead()
1337 r = cc->iv_gen_ops->generator(cc, org_iv, dmreq); in crypt_convert_block_aead()
1368 if (!r && cc->iv_gen_ops && cc->iv_gen_ops->post) in crypt_convert_block_aead()
1369 r = cc->iv_gen_ops->post(cc, org_iv, dmreq); in crypt_convert_block_aead()
1419 if (cc->iv_gen_ops) { in crypt_convert_block_skcipher()
1424 r = cc->iv_gen_ops->generator(cc, org_iv, dmreq); in crypt_convert_block_skcipher()
1445 if (!r && cc->iv_gen_ops && cc->iv_gen_ops->post) in crypt_convert_block_skcipher()
1446 r = cc->iv_gen_ops->post(cc, org_iv, dmreq); in crypt_convert_block_skcipher()
2040 if (!error && cc->iv_gen_ops && cc->iv_gen_ops->post) in kcryptd_async_done()
2041 error = cc->iv_gen_ops->post(cc, org_iv_of_dmreq(cc, dmreq), dmreq); in kcryptd_async_done()
2480 if (cc->iv_gen_ops && cc->iv_gen_ops->wipe) { in crypt_wipe_key()
2481 r = cc->iv_gen_ops->wipe(cc); in crypt_wipe_key()
2559 if (cc->iv_gen_ops && cc->iv_gen_ops->dtr) in crypt_dtr()
2560 cc->iv_gen_ops->dtr(cc); in crypt_dtr()
2602 cc->iv_gen_ops = NULL; in crypt_ctr_ivmode()
2604 cc->iv_gen_ops = &crypt_iv_plain_ops; in crypt_ctr_ivmode()
2606 cc->iv_gen_ops = &crypt_iv_plain64_ops; in crypt_ctr_ivmode()
2608 cc->iv_gen_ops = &crypt_iv_plain64be_ops; in crypt_ctr_ivmode()
2610 cc->iv_gen_ops = &crypt_iv_essiv_ops; in crypt_ctr_ivmode()
2612 cc->iv_gen_ops = &crypt_iv_benbi_ops; in crypt_ctr_ivmode()
2614 cc->iv_gen_ops = &crypt_iv_null_ops; in crypt_ctr_ivmode()
2616 cc->iv_gen_ops = &crypt_iv_eboiv_ops; in crypt_ctr_ivmode()
2618 cc->iv_gen_ops = &crypt_iv_elephant_ops; in crypt_ctr_ivmode()
2625 cc->iv_gen_ops = &crypt_iv_lmk_ops; in crypt_ctr_ivmode()
2637 cc->iv_gen_ops = &crypt_iv_tcw_ops; in crypt_ctr_ivmode()
2641 cc->iv_gen_ops = &crypt_iv_random_ops; in crypt_ctr_ivmode()
2881 if (cc->iv_gen_ops && cc->iv_gen_ops->ctr) { in crypt_ctr_cipher()
2882 ret = cc->iv_gen_ops->ctr(cc, ti, ivopts); in crypt_ctr_cipher()
2890 if (cc->iv_gen_ops && cc->iv_gen_ops->init) { in crypt_ctr_cipher()
2891 ret = cc->iv_gen_ops->init(cc); in crypt_ctr_cipher()
3382 if (cc->iv_gen_ops && cc->iv_gen_ops->init) in crypt_message()
3383 ret = cc->iv_gen_ops->init(cc); in crypt_message()