Lines Matching refs:iv_gen_ops
176 const struct crypt_iv_operations *iv_gen_ops; member
1301 if (cc->iv_gen_ops) { in crypt_convert_block_aead()
1306 r = cc->iv_gen_ops->generator(cc, org_iv, dmreq); in crypt_convert_block_aead()
1343 if (!r && cc->iv_gen_ops && cc->iv_gen_ops->post) in crypt_convert_block_aead()
1344 cc->iv_gen_ops->post(cc, org_iv, dmreq); in crypt_convert_block_aead()
1394 if (cc->iv_gen_ops) { in crypt_convert_block_skcipher()
1399 r = cc->iv_gen_ops->generator(cc, org_iv, dmreq); in crypt_convert_block_skcipher()
1420 if (!r && cc->iv_gen_ops && cc->iv_gen_ops->post) in crypt_convert_block_skcipher()
1421 cc->iv_gen_ops->post(cc, org_iv, dmreq); in crypt_convert_block_skcipher()
2184 if (!error && cc->iv_gen_ops && cc->iv_gen_ops->post) in kcryptd_async_done()
2185 cc->iv_gen_ops->post(cc, org_iv_of_dmreq(cc, dmreq), dmreq); in kcryptd_async_done()
2641 if (cc->iv_gen_ops && cc->iv_gen_ops->wipe) in crypt_wipe_key()
2642 cc->iv_gen_ops->wipe(cc); in crypt_wipe_key()
2725 if (cc->iv_gen_ops && cc->iv_gen_ops->dtr) in crypt_dtr()
2726 cc->iv_gen_ops->dtr(cc); in crypt_dtr()
2770 cc->iv_gen_ops = NULL; in crypt_ctr_ivmode()
2772 cc->iv_gen_ops = &crypt_iv_plain_ops; in crypt_ctr_ivmode()
2774 cc->iv_gen_ops = &crypt_iv_plain64_ops; in crypt_ctr_ivmode()
2776 cc->iv_gen_ops = &crypt_iv_plain64be_ops; in crypt_ctr_ivmode()
2778 cc->iv_gen_ops = &crypt_iv_essiv_ops; in crypt_ctr_ivmode()
2780 cc->iv_gen_ops = &crypt_iv_benbi_ops; in crypt_ctr_ivmode()
2782 cc->iv_gen_ops = &crypt_iv_null_ops; in crypt_ctr_ivmode()
2784 cc->iv_gen_ops = &crypt_iv_eboiv_ops; in crypt_ctr_ivmode()
2786 cc->iv_gen_ops = &crypt_iv_elephant_ops; in crypt_ctr_ivmode()
2793 cc->iv_gen_ops = &crypt_iv_lmk_ops; in crypt_ctr_ivmode()
2805 cc->iv_gen_ops = &crypt_iv_tcw_ops; in crypt_ctr_ivmode()
2809 cc->iv_gen_ops = &crypt_iv_random_ops; in crypt_ctr_ivmode()
3049 if (cc->iv_gen_ops && cc->iv_gen_ops->ctr) { in crypt_ctr_cipher()
3050 ret = cc->iv_gen_ops->ctr(cc, ti, ivopts); in crypt_ctr_cipher()
3058 if (cc->iv_gen_ops && cc->iv_gen_ops->init) { in crypt_ctr_cipher()
3059 ret = cc->iv_gen_ops->init(cc); in crypt_ctr_cipher()
3654 if (cc->iv_gen_ops && cc->iv_gen_ops->init) in crypt_message()
3655 ret = cc->iv_gen_ops->init(cc); in crypt_message()