Lines Matching refs:subreq

55 	struct skcipher_request subreq;  member
103 struct skcipher_request *subreq; in post_crypt() local
110 subreq = &rctx->subreq; in post_crypt()
111 err = skcipher_walk_virt(&w, subreq, false); in post_crypt()
127 rctx->left -= subreq->cryptlen; in post_crypt()
154 struct skcipher_request *subreq; in pre_crypt() local
163 subreq = &rctx->subreq; in pre_crypt()
164 cryptlen = subreq->cryptlen; in pre_crypt()
170 skcipher_request_set_crypt(subreq, rctx->src, rctx->dst, in pre_crypt()
173 err = skcipher_walk_virt(&w, subreq, false); in pre_crypt()
192 skcipher_request_set_crypt(subreq, rctx->dst, rctx->dst, in pre_crypt()
220 struct skcipher_request *subreq; in init_crypt() local
223 subreq = &rctx->subreq; in init_crypt()
224 skcipher_request_set_tfm(subreq, ctx->child); in init_crypt()
225 skcipher_request_set_callback(subreq, req->base.flags, done, req); in init_crypt()
231 subreq->cryptlen = XTS_BUFFER_SIZE; in init_crypt()
237 subreq->cryptlen = n; in init_crypt()
263 struct skcipher_request *subreq; in do_encrypt() local
265 subreq = &rctx->subreq; in do_encrypt()
269 crypto_skcipher_encrypt(subreq) ?: in do_encrypt()
283 struct skcipher_request *subreq; in encrypt_done() local
294 subreq = &rctx->subreq; in encrypt_done()
295 subreq->base.flags &= CRYPTO_TFM_REQ_MAY_BACKLOG; in encrypt_done()
313 struct skcipher_request *subreq; in do_decrypt() local
315 subreq = &rctx->subreq; in do_decrypt()
319 crypto_skcipher_decrypt(subreq) ?: in do_decrypt()
333 struct skcipher_request *subreq; in decrypt_done() local
344 subreq = &rctx->subreq; in decrypt_done()
345 subreq->base.flags &= CRYPTO_TFM_REQ_MAY_BACKLOG; in decrypt_done()