Lines Matching refs:iv_gen_ops

156 	const struct crypt_iv_operations *iv_gen_ops;  member
1119 if (cc->iv_gen_ops) { in crypt_convert_block_aead()
1124 r = cc->iv_gen_ops->generator(cc, org_iv, dmreq); in crypt_convert_block_aead()
1153 if (!r && cc->iv_gen_ops && cc->iv_gen_ops->post) in crypt_convert_block_aead()
1154 r = cc->iv_gen_ops->post(cc, org_iv, dmreq); in crypt_convert_block_aead()
1204 if (cc->iv_gen_ops) { in crypt_convert_block_skcipher()
1209 r = cc->iv_gen_ops->generator(cc, org_iv, dmreq); in crypt_convert_block_skcipher()
1227 if (!r && cc->iv_gen_ops && cc->iv_gen_ops->post) in crypt_convert_block_skcipher()
1228 r = cc->iv_gen_ops->post(cc, org_iv, dmreq); in crypt_convert_block_skcipher()
1790 if (!error && cc->iv_gen_ops && cc->iv_gen_ops->post) in kcryptd_async_done()
1791 error = cc->iv_gen_ops->post(cc, org_iv_of_dmreq(cc, dmreq), dmreq); in kcryptd_async_done()
2224 if (cc->iv_gen_ops && cc->iv_gen_ops->dtr) in crypt_dtr()
2225 cc->iv_gen_ops->dtr(cc); in crypt_dtr()
2268 cc->iv_gen_ops = NULL; in crypt_ctr_ivmode()
2270 cc->iv_gen_ops = &crypt_iv_plain_ops; in crypt_ctr_ivmode()
2272 cc->iv_gen_ops = &crypt_iv_plain64_ops; in crypt_ctr_ivmode()
2274 cc->iv_gen_ops = &crypt_iv_plain64be_ops; in crypt_ctr_ivmode()
2276 cc->iv_gen_ops = &crypt_iv_essiv_ops; in crypt_ctr_ivmode()
2278 cc->iv_gen_ops = &crypt_iv_benbi_ops; in crypt_ctr_ivmode()
2280 cc->iv_gen_ops = &crypt_iv_null_ops; in crypt_ctr_ivmode()
2282 cc->iv_gen_ops = &crypt_iv_lmk_ops; in crypt_ctr_ivmode()
2294 cc->iv_gen_ops = &crypt_iv_tcw_ops; in crypt_ctr_ivmode()
2298 cc->iv_gen_ops = &crypt_iv_random_ops; in crypt_ctr_ivmode()
2558 if (cc->iv_gen_ops && cc->iv_gen_ops->ctr) { in crypt_ctr_cipher()
2559 ret = cc->iv_gen_ops->ctr(cc, ti, ivopts); in crypt_ctr_cipher()
2567 if (cc->iv_gen_ops && cc->iv_gen_ops->init) { in crypt_ctr_cipher()
2568 ret = cc->iv_gen_ops->init(cc); in crypt_ctr_cipher()
3022 if (cc->iv_gen_ops && cc->iv_gen_ops->init) in crypt_message()
3023 ret = cc->iv_gen_ops->init(cc); in crypt_message()
3030 if (cc->iv_gen_ops && cc->iv_gen_ops->wipe) { in crypt_message()
3031 ret = cc->iv_gen_ops->wipe(cc); in crypt_message()