Lines Matching refs:subreq
38 struct skcipher_request subreq; member
94 req = &rctx->subreq; in xts_xor_tweak()
166 struct skcipher_request *subreq = &rctx->subreq; in xts_cts_final() local
182 skcipher_request_set_tfm(subreq, ctx->child); in xts_cts_final()
183 skcipher_request_set_callback(subreq, req->base.flags, xts_cts_done, in xts_cts_final()
185 skcipher_request_set_crypt(subreq, rctx->tail, rctx->tail, in xts_cts_final()
188 err = crypt(subreq); in xts_cts_final()
206 rctx->subreq.base.flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP; in xts_encrypt_done()
226 rctx->subreq.base.flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP; in xts_decrypt_done()
245 struct skcipher_request *subreq = &rctx->subreq; in xts_init_crypt() local
250 skcipher_request_set_tfm(subreq, ctx->child); in xts_init_crypt()
251 skcipher_request_set_callback(subreq, req->base.flags, compl, req); in xts_init_crypt()
252 skcipher_request_set_crypt(subreq, req->dst, req->dst, in xts_init_crypt()
264 struct skcipher_request *subreq = &rctx->subreq; in xts_encrypt() local
269 crypto_skcipher_encrypt(subreq) ?: in xts_encrypt()
281 struct skcipher_request *subreq = &rctx->subreq; in xts_decrypt() local
286 crypto_skcipher_decrypt(subreq) ?: in xts_decrypt()