Searched refs:aead_req (Results 1 – 11 of 11) sorted by relevance
/drivers/crypto/hisilicon/sec2/ |
D | sec_crypto.c | 894 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 …]
|
D | sec.h | 39 struct aead_request *aead_req; member 57 struct sec_aead_req aead_req; member
|
/drivers/crypto/ |
D | omap-aes-gcm.c | 31 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()
|
D | omap-aes.h | 171 struct aead_request *aead_req; member
|
D | ixp4xx_crypto.c | 142 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()
|
D | omap-aes.c | 148 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/ |
D | crypto4xx_core.c | 573 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/ |
D | qat_crypto.h | 48 struct aead_request *aead_req; member
|
D | qat_algs.c | 672 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/ |
D | caamalg_qi.c | 916 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/ |
D | chcr_algo.c | 719 struct aead_request *aead_req = in get_qidxs() local 721 struct chcr_aead_reqctx *reqctx = aead_request_ctx(aead_req); in get_qidxs()
|