Lines Matching refs:iv_gen_ops
168 const struct crypt_iv_operations *iv_gen_ops; member
1348 if (cc->iv_gen_ops) { in crypt_convert_block_aead()
1353 r = cc->iv_gen_ops->generator(cc, org_iv, dmreq); in crypt_convert_block_aead()
1387 if (!r && cc->iv_gen_ops && cc->iv_gen_ops->post) in crypt_convert_block_aead()
1388 r = cc->iv_gen_ops->post(cc, org_iv, dmreq); in crypt_convert_block_aead()
1438 if (cc->iv_gen_ops) { in crypt_convert_block_skcipher()
1443 r = cc->iv_gen_ops->generator(cc, org_iv, dmreq); in crypt_convert_block_skcipher()
1464 if (!r && cc->iv_gen_ops && cc->iv_gen_ops->post) in crypt_convert_block_skcipher()
1465 r = cc->iv_gen_ops->post(cc, org_iv, dmreq); in crypt_convert_block_skcipher()
2200 if (!error && cc->iv_gen_ops && cc->iv_gen_ops->post) in kcryptd_async_done()
2201 error = cc->iv_gen_ops->post(cc, org_iv_of_dmreq(cc, dmreq), dmreq); in kcryptd_async_done()
2665 if (cc->iv_gen_ops && cc->iv_gen_ops->wipe) { in crypt_wipe_key()
2666 r = cc->iv_gen_ops->wipe(cc); in crypt_wipe_key()
2749 if (cc->iv_gen_ops && cc->iv_gen_ops->dtr) in crypt_dtr()
2750 cc->iv_gen_ops->dtr(cc); in crypt_dtr()
2794 cc->iv_gen_ops = NULL; in crypt_ctr_ivmode()
2796 cc->iv_gen_ops = &crypt_iv_plain_ops; in crypt_ctr_ivmode()
2798 cc->iv_gen_ops = &crypt_iv_plain64_ops; in crypt_ctr_ivmode()
2800 cc->iv_gen_ops = &crypt_iv_plain64be_ops; in crypt_ctr_ivmode()
2802 cc->iv_gen_ops = &crypt_iv_essiv_ops; in crypt_ctr_ivmode()
2804 cc->iv_gen_ops = &crypt_iv_benbi_ops; in crypt_ctr_ivmode()
2806 cc->iv_gen_ops = &crypt_iv_null_ops; in crypt_ctr_ivmode()
2808 cc->iv_gen_ops = &crypt_iv_eboiv_ops; in crypt_ctr_ivmode()
2810 cc->iv_gen_ops = &crypt_iv_elephant_ops; in crypt_ctr_ivmode()
2817 cc->iv_gen_ops = &crypt_iv_lmk_ops; in crypt_ctr_ivmode()
2829 cc->iv_gen_ops = &crypt_iv_tcw_ops; in crypt_ctr_ivmode()
2833 cc->iv_gen_ops = &crypt_iv_random_ops; in crypt_ctr_ivmode()
3073 if (cc->iv_gen_ops && cc->iv_gen_ops->ctr) { in crypt_ctr_cipher()
3074 ret = cc->iv_gen_ops->ctr(cc, ti, ivopts); in crypt_ctr_cipher()
3082 if (cc->iv_gen_ops && cc->iv_gen_ops->init) { in crypt_ctr_cipher()
3083 ret = cc->iv_gen_ops->init(cc); in crypt_ctr_cipher()
3628 if (cc->iv_gen_ops && cc->iv_gen_ops->init) in crypt_message()
3629 ret = cc->iv_gen_ops->init(cc); in crypt_message()