Lines Matching refs:subreq
52 struct ablkcipher_request *subreq = skcipher_givcrypt_reqctx(req); in chainiv_givencrypt() local
56 ablkcipher_request_set_tfm(subreq, skcipher_geniv_cipher(geniv)); in chainiv_givencrypt()
57 ablkcipher_request_set_callback(subreq, req->creq.base.flags & in chainiv_givencrypt()
61 ablkcipher_request_set_crypt(subreq, req->creq.src, req->creq.dst, in chainiv_givencrypt()
69 memcpy(subreq->info, ctx->iv, ivsize); in chainiv_givencrypt()
71 err = crypto_ablkcipher_encrypt(subreq); in chainiv_givencrypt()
75 memcpy(ctx->iv, subreq->info, ivsize); in chainiv_givencrypt()
158 struct ablkcipher_request *subreq = skcipher_givcrypt_reqctx(req); in async_chainiv_givencrypt_tail() local
162 memcpy(subreq->info, ctx->iv, ivsize); in async_chainiv_givencrypt_tail()
164 ctx->err = crypto_ablkcipher_encrypt(subreq); in async_chainiv_givencrypt_tail()
168 memcpy(ctx->iv, subreq->info, ivsize); in async_chainiv_givencrypt_tail()
178 struct ablkcipher_request *subreq = skcipher_givcrypt_reqctx(req); in async_chainiv_givencrypt() local
180 ablkcipher_request_set_tfm(subreq, skcipher_geniv_cipher(geniv)); in async_chainiv_givencrypt()
181 ablkcipher_request_set_callback(subreq, req->creq.base.flags, in async_chainiv_givencrypt()
184 ablkcipher_request_set_crypt(subreq, req->creq.src, req->creq.dst, in async_chainiv_givencrypt()
207 struct ablkcipher_request *subreq; in async_chainiv_do_postponed() local
220 subreq = skcipher_givcrypt_reqctx(req); in async_chainiv_do_postponed()
221 subreq->base.flags |= CRYPTO_TFM_REQ_MAY_SLEEP; in async_chainiv_do_postponed()