Lines Matching refs:kcop
164 __crypto_run_zc(struct csession *ses_ptr, struct kernel_crypt_op *kcop) in __crypto_run_zc() argument
167 struct crypt_op *cop = &kcop->cop; in __crypto_run_zc()
171 kcop->task, kcop->mm, &src_sg, &dst_sg); in __crypto_run_zc()
183 int crypto_run(struct fcrypt *fcr, struct kernel_crypt_op *kcop) in crypto_run() argument
186 struct crypt_op *cop = &kcop->cop; in crypto_run()
219 cryptodev_cipher_set_iv(&ses_ptr->cdata, kcop->iv, in crypto_run()
220 min(ses_ptr->cdata.ivsize, kcop->ivlen)); in crypto_run()
239 ret = __crypto_run_std(ses_ptr, &kcop->cop); in crypto_run()
241 ret = __crypto_run_zc(ses_ptr, kcop); in crypto_run()
247 cryptodev_cipher_get_iv(&ses_ptr->cdata, kcop->iv, in crypto_run()
248 min(ses_ptr->cdata.ivsize, kcop->ivlen)); in crypto_run()
255 ret = cryptodev_hash_final(&ses_ptr->hdata, kcop->hash_output); in crypto_run()
260 kcop->digestsize = ses_ptr->hdata.digestsize; in crypto_run()