Lines Matching refs:subreq
23 struct aead_request *subreq = aead_request_ctx(req); in seqiv_aead_encrypt_complete2() local
33 memcpy(req->iv, subreq->iv, crypto_aead_ivsize(geniv)); in seqiv_aead_encrypt_complete2()
36 kfree_sensitive(subreq->iv); in seqiv_aead_encrypt_complete2()
52 struct aead_request *subreq = aead_request_ctx(req); in seqiv_aead_encrypt() local
62 aead_request_set_tfm(subreq, ctx->child); in seqiv_aead_encrypt()
95 aead_request_set_callback(subreq, req->base.flags, compl, data); in seqiv_aead_encrypt()
96 aead_request_set_crypt(subreq, req->dst, req->dst, in seqiv_aead_encrypt()
98 aead_request_set_ad(subreq, req->assoclen + ivsize); in seqiv_aead_encrypt()
103 err = crypto_aead_encrypt(subreq); in seqiv_aead_encrypt()
113 struct aead_request *subreq = aead_request_ctx(req); in seqiv_aead_decrypt() local
121 aead_request_set_tfm(subreq, ctx->child); in seqiv_aead_decrypt()
126 aead_request_set_callback(subreq, req->base.flags, compl, data); in seqiv_aead_decrypt()
127 aead_request_set_crypt(subreq, req->src, req->dst, in seqiv_aead_decrypt()
129 aead_request_set_ad(subreq, req->assoclen + ivsize); in seqiv_aead_decrypt()
133 return crypto_aead_decrypt(subreq); in seqiv_aead_decrypt()