Lines Matching refs:aead_req
127 struct aead_request *aead_req = req->aead_req.aead_req; in sec_aead_verify() local
128 struct crypto_aead *tfm = crypto_aead_reqtfm(aead_req); in sec_aead_verify()
130 u8 *mac_out = req->aead_req.out_mac; in sec_aead_verify()
132 struct scatterlist *sgl = aead_req->src; in sec_aead_verify()
136 aead_req->cryptlen + aead_req->assoclen - in sec_aead_verify()
689 struct aead_request *aead_req = req->aead_req.aead_req; in GEN_SEC_SETKEY_FUNC() local
697 copy_size = aead_req->cryptlen + aead_req->assoclen; in GEN_SEC_SETKEY_FUNC()
725 struct aead_request *aead_req = req->aead_req.aead_req; in sec_cipher_pbuf_unmap() local
733 copy_size = c_req->c_len + aead_req->assoclen; in sec_cipher_pbuf_unmap()
750 struct sec_aead_req *a_req = &req->aead_req; in sec_cipher_map()
939 struct aead_request *aq = req->aead_req.aead_req; in GEN_SEC_AEAD_SETKEY_FUNC()
946 struct aead_request *aq = req->aead_req.aead_req; in sec_aead_sgl_unmap()
1040 struct aead_request *aead_req = req->aead_req.aead_req; in sec_update_iv() local
1049 sgl = alg_type == SEC_SKCIPHER ? sk_req->dst : aead_req->dst; in sec_update_iv()
1051 sgl = alg_type == SEC_SKCIPHER ? sk_req->src : aead_req->src; in sec_update_iv()
1057 iv = aead_req->iv; in sec_update_iv()
1058 cryptlen = aead_req->cryptlen; in sec_update_iv()
1116 struct aead_request *aead_req = req->aead_req.aead_req; in sec_aead_copy_iv() local
1119 memcpy(c_req->c_ivin, aead_req->iv, ctx->c_ctx.ivsize); in sec_aead_copy_iv()
1125 struct sec_aead_req *a_req = &req->aead_req; in sec_auth_bd_fill_ex()
1127 struct aead_request *aq = a_req->aead_req; in sec_auth_bd_fill_ex()
1174 struct aead_request *a_req = req->aead_req.aead_req; in sec_aead_callback()
1176 struct sec_aead_req *aead_req = &req->aead_req; in sec_aead_callback() local
1192 aead_req->out_mac, in sec_aead_callback()
1209 backlog_aead_req = backlog_req->aead_req.aead_req; in sec_aead_callback()
1275 memcpy(req->aead_req.aead_req->iv, c_req->c_ivin, in sec_process()
1537 struct aead_request *req = sreq->aead_req.aead_req; in sec_aead_param_check()
1580 req->aead_req.aead_req = a_req; in sec_aead_crypto()