Home
last modified time | relevance | path

Searched refs:aead_req (Results 1 – 11 of 11) sorted by relevance

/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c894 struct sec_aead_req *a_req = &req->aead_req; in GEN_SEC_SETKEY_FUNC()
895 struct aead_request *aead_req = a_req->aead_req; in GEN_SEC_SETKEY_FUNC() local
906 copy_size = aead_req->cryptlen + aead_req->assoclen; in GEN_SEC_SETKEY_FUNC()
917 tfm = crypto_aead_reqtfm(aead_req); in GEN_SEC_SETKEY_FUNC()
932 struct aead_request *aead_req = req->aead_req.aead_req; in sec_cipher_pbuf_unmap() local
939 copy_size = c_req->c_len + aead_req->assoclen; in sec_cipher_pbuf_unmap()
951 struct aead_request *aead_req = req->aead_req; in sec_aead_mac_init() local
952 struct crypto_aead *tfm = crypto_aead_reqtfm(aead_req); in sec_aead_mac_init()
955 struct scatterlist *sgl = aead_req->src; in sec_aead_mac_init()
960 skip_size = aead_req->assoclen + aead_req->cryptlen - authsize; in sec_aead_mac_init()
[all …]
Dsec.h39 struct aead_request *aead_req; member
57 struct sec_aead_req aead_req; member
/drivers/crypto/
Domap-aes-gcm.c31 struct aead_request *req = dd->aead_req; in omap_aes_gcm_finish_req()
50 rctx = aead_request_ctx(dd->aead_req); in omap_aes_gcm_done_task()
61 dd->aead_req->assoclen, dd->total, in omap_aes_gcm_done_task()
66 dd->aead_req->dst, in omap_aes_gcm_done_task()
67 dd->total + dd->aead_req->assoclen, in omap_aes_gcm_done_task()
190 scatterwalk_map_and_copy(tag, dd->aead_req->src, in omap_aes_gcm_dma_out_callback()
191 dd->total + dd->aead_req->assoclen, in omap_aes_gcm_dma_out_callback()
194 rctx = aead_request_ctx(dd->aead_req); in omap_aes_gcm_dma_out_callback()
224 dd->aead_req = req; in omap_aes_gcm_prepare_req()
Domap-aes.h171 struct aead_request *aead_req; member
Dixp4xx_crypto.c142 struct aead_request *aead_req; member
351 struct aead_request *req = crypt->data.aead_req; in finish_scattered_hmac()
377 struct aead_request *req = crypt->data.aead_req; in one_packet()
1122 crypt->data.aead_req = req; in aead_perform()
Domap-aes.c148 if ((dd->flags & (FLAGS_GCM)) && dd->aead_req->iv) { in omap_aes_write_ctrl()
149 rctx = aead_request_ctx(dd->aead_req); in omap_aes_write_ctrl()
/drivers/crypto/amcc/
Dcrypto4xx_core.c573 struct aead_request *aead_req = container_of(pd_uinfo->async_req, in crypto4xx_aead_done() local
577 crypto_aead_reqtfm(aead_req)); in crypto4xx_aead_done()
595 scatterwalk_map_and_copy(icv, dst, aead_req->cryptlen, in crypto4xx_aead_done()
599 scatterwalk_map_and_copy(icv, aead_req->src, in crypto4xx_aead_done()
600 aead_req->assoclen + aead_req->cryptlen - in crypto4xx_aead_done()
628 aead_request_complete(aead_req, -EINPROGRESS); in crypto4xx_aead_done()
630 aead_request_complete(aead_req, err); in crypto4xx_aead_done()
/drivers/crypto/qat/qat_common/
Dqat_crypto.h48 struct aead_request *aead_req; member
Dqat_algs.c672 struct aead_request *areq = qat_req->aead_req; in qat_aead_alg_callback()
810 qat_req->aead_req = areq; in qat_alg_aead_dec()
854 qat_req->aead_req = areq; in qat_alg_aead_enc()
/drivers/crypto/caam/
Dcaamalg_qi.c916 struct aead_request *aead_req = drv_req->app_ctx; in aead_done() local
917 struct crypto_aead *aead = crypto_aead_reqtfm(aead_req); in aead_done()
927 aead_unmap(qidev, edesc, aead_req); in aead_done()
929 aead_request_complete(aead_req, ecode); in aead_done()
/drivers/crypto/chelsio/
Dchcr_algo.c719 struct aead_request *aead_req = in get_qidxs() local
721 struct chcr_aead_reqctx *reqctx = aead_request_ctx(aead_req); in get_qidxs()