Lines Matching refs:iv_gen_ops
150 const struct crypt_iv_operations *iv_gen_ops; member
1011 if (cc->iv_gen_ops) { in crypt_convert_block_aead()
1016 r = cc->iv_gen_ops->generator(cc, org_iv, dmreq); in crypt_convert_block_aead()
1047 if (!r && cc->iv_gen_ops && cc->iv_gen_ops->post) in crypt_convert_block_aead()
1048 r = cc->iv_gen_ops->post(cc, org_iv, dmreq); in crypt_convert_block_aead()
1098 if (cc->iv_gen_ops) { in crypt_convert_block_skcipher()
1103 r = cc->iv_gen_ops->generator(cc, org_iv, dmreq); in crypt_convert_block_skcipher()
1121 if (!r && cc->iv_gen_ops && cc->iv_gen_ops->post) in crypt_convert_block_skcipher()
1122 r = cc->iv_gen_ops->post(cc, org_iv, dmreq); in crypt_convert_block_skcipher()
1684 if (!error && cc->iv_gen_ops && cc->iv_gen_ops->post) in kcryptd_async_done()
1685 error = cc->iv_gen_ops->post(cc, org_iv_of_dmreq(cc, dmreq), dmreq); in kcryptd_async_done()
2057 if (cc->iv_gen_ops && cc->iv_gen_ops->wipe) { in crypt_wipe_key()
2058 r = cc->iv_gen_ops->wipe(cc); in crypt_wipe_key()
2136 if (cc->iv_gen_ops && cc->iv_gen_ops->dtr) in crypt_dtr()
2137 cc->iv_gen_ops->dtr(cc); in crypt_dtr()
2179 cc->iv_gen_ops = NULL; in crypt_ctr_ivmode()
2181 cc->iv_gen_ops = &crypt_iv_plain_ops; in crypt_ctr_ivmode()
2183 cc->iv_gen_ops = &crypt_iv_plain64_ops; in crypt_ctr_ivmode()
2185 cc->iv_gen_ops = &crypt_iv_plain64be_ops; in crypt_ctr_ivmode()
2187 cc->iv_gen_ops = &crypt_iv_essiv_ops; in crypt_ctr_ivmode()
2189 cc->iv_gen_ops = &crypt_iv_benbi_ops; in crypt_ctr_ivmode()
2191 cc->iv_gen_ops = &crypt_iv_null_ops; in crypt_ctr_ivmode()
2193 cc->iv_gen_ops = &crypt_iv_eboiv_ops; in crypt_ctr_ivmode()
2195 cc->iv_gen_ops = &crypt_iv_lmk_ops; in crypt_ctr_ivmode()
2207 cc->iv_gen_ops = &crypt_iv_tcw_ops; in crypt_ctr_ivmode()
2211 cc->iv_gen_ops = &crypt_iv_random_ops; in crypt_ctr_ivmode()
2451 if (cc->iv_gen_ops && cc->iv_gen_ops->ctr) { in crypt_ctr_cipher()
2452 ret = cc->iv_gen_ops->ctr(cc, ti, ivopts); in crypt_ctr_cipher()
2460 if (cc->iv_gen_ops && cc->iv_gen_ops->init) { in crypt_ctr_cipher()
2461 ret = cc->iv_gen_ops->init(cc); in crypt_ctr_cipher()
2920 if (cc->iv_gen_ops && cc->iv_gen_ops->init) in crypt_message()
2921 ret = cc->iv_gen_ops->init(cc); in crypt_message()