Home
last modified time | relevance | path

Searched refs:scatterwalk_ffwd (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.12.1/crypto/
Dscatterwalk.c64 sg = scatterwalk_ffwd(tmp, sg, start); in scatterwalk_map_and_copy()
72 struct scatterlist *scatterwalk_ffwd(struct scatterlist dst[2], in scatterwalk_ffwd() function
93 EXPORT_SYMBOL_GPL(scatterwalk_ffwd);
Dauthencesn.c139 dst = scatterwalk_ffwd(areq_ctx->dst, dst, 4); in crypto_authenc_esn_genicv()
189 src = scatterwalk_ffwd(areq_ctx->src, req->src, assoclen); in crypto_authenc_esn_encrypt()
198 dst = scatterwalk_ffwd(areq_ctx->dst, req->dst, assoclen); in crypto_authenc_esn_encrypt()
244 dst = scatterwalk_ffwd(areq_ctx->dst, dst, assoclen); in crypto_authenc_esn_decrypt_tail()
298 dst = scatterwalk_ffwd(areq_ctx->dst, dst, 4); in crypto_authenc_esn_decrypt()
Dauthenc.c202 src = scatterwalk_ffwd(areq_ctx->src, req->src, req->assoclen); in crypto_authenc_encrypt()
210 dst = scatterwalk_ffwd(areq_ctx->dst, req->dst, req->assoclen); in crypto_authenc_encrypt()
245 src = scatterwalk_ffwd(areq_ctx->src, req->src, req->assoclen); in crypto_authenc_decrypt_tail()
249 dst = scatterwalk_ffwd(areq_ctx->dst, req->dst, req->assoclen); in crypto_authenc_decrypt_tail()
Dchacha20poly1305.c136 src = scatterwalk_ffwd(rctx->src, req->src, req->assoclen); in chacha_decrypt()
139 dst = scatterwalk_ffwd(rctx->dst, req->dst, req->assoclen); in chacha_decrypt()
239 crypt = scatterwalk_ffwd(rctx->src, crypt, req->assoclen); in poly_cipher()
412 src = scatterwalk_ffwd(rctx->src, req->src, req->assoclen); in chacha_encrypt()
415 dst = scatterwalk_ffwd(rctx->dst, req->dst, req->assoclen); in chacha_encrypt()
Dcts.c112 sg = scatterwalk_ffwd(rctx->sg, req->dst, offset - bsize); in cts_cbc_encrypt()
194 sg = scatterwalk_ffwd(rctx->sg, req->dst, offset - bsize); in cts_cbc_decrypt()
Dccm.c271 sg = scatterwalk_ffwd(pctx->src + 1, req->src, req->assoclen); in crypto_ccm_init_crypt()
278 sg = scatterwalk_ffwd(pctx->dst + 1, req->dst, req->assoclen); in crypto_ccm_init_crypt()
623 sg = scatterwalk_ffwd(rctx->src + 1, req->src, req->assoclen); in crypto_rfc4309_crypt()
630 sg = scatterwalk_ffwd(rctx->dst + 1, req->dst, req->assoclen); in crypto_rfc4309_crypt()
Dgcm.c164 sg = scatterwalk_ffwd(pctx->src + 1, req->src, req->assoclen); in crypto_gcm_init_common()
171 sg = scatterwalk_ffwd(pctx->dst + 1, req->dst, req->assoclen); in crypto_gcm_init_common()
736 sg = scatterwalk_ffwd(rctx->src + 1, req->src, req->assoclen); in crypto_rfc4106_crypt()
743 sg = scatterwalk_ffwd(rctx->dst + 1, req->dst, req->assoclen); in crypto_rfc4106_crypt()
Dhctr2.c283 rctx->bulk_part_src = scatterwalk_ffwd(rctx->sg_src, req->src, in hctr2_crypt()
285 rctx->bulk_part_dst = scatterwalk_ffwd(rctx->sg_dst, req->dst, in hctr2_crypt()
Dxts.c171 rctx->tail = scatterwalk_ffwd(rctx->sg, req->dst, in xts_cts_final()
Dessiv.c239 sg = scatterwalk_ffwd(rctx->sg + 2, req->src, req->assoclen); in essiv_aead_crypt()
/linux-6.12.1/arch/arm/crypto/
Daes-ce-glue.c301 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_encrypt()
303 dst = scatterwalk_ffwd(sg_dst, req->dst, in cts_cbc_encrypt()
359 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_decrypt()
361 dst = scatterwalk_ffwd(sg_dst, req->dst, in cts_cbc_decrypt()
496 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_encrypt()
498 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in xts_encrypt()
568 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_decrypt()
570 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in xts_decrypt()
/linux-6.12.1/arch/arm64/crypto/
Daes-glue.c311 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_encrypt()
313 dst = scatterwalk_ffwd(sg_dst, req->dst, in cts_cbc_encrypt()
368 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_decrypt()
370 dst = scatterwalk_ffwd(sg_dst, req->dst, in cts_cbc_decrypt()
593 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_encrypt()
595 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in xts_encrypt()
665 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_decrypt()
667 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in xts_decrypt()
Dsm4-ce-glue.c239 dst = src = scatterwalk_ffwd(sg_src, src, subreq.cryptlen); in sm4_cbc_cts_crypt()
241 dst = scatterwalk_ffwd(sg_dst, req->dst, in sm4_cbc_cts_crypt()
389 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in sm4_xts_crypt()
391 dst = scatterwalk_ffwd(sg_dst, req->dst, subreq.cryptlen); in sm4_xts_crypt()
Daes-neonbs-glue.c356 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in __xts_crypt()
358 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in __xts_crypt()
/linux-6.12.1/arch/riscv/crypto/
Daes-riscv64-glue.c249 dst = src = scatterwalk_ffwd(sg_src, req->src, cbc_len); in riscv64_aes_cbc_cts_crypt()
251 dst = scatterwalk_ffwd(sg_dst, req->dst, cbc_len); in riscv64_aes_cbc_cts_crypt()
422 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in riscv64_aes_xts_crypt()
424 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in riscv64_aes_xts_crypt()
/linux-6.12.1/drivers/crypto/starfive/
Djh7110-aes.c553 stsg = scatterwalk_ffwd(_src, stsg, len); in starfive_aes_map_sg()
556 dtsg = scatterwalk_ffwd(_dst, dtsg, len); in starfive_aes_map_sg()
652 rctx->in_sg = scatterwalk_ffwd(_src, req->src, cryp->assoclen); in starfive_aes_aead_do_one_req()
656 rctx->out_sg = scatterwalk_ffwd(_dst, req->dst, cryp->assoclen); in starfive_aes_aead_do_one_req()
841 src = scatterwalk_ffwd(_src, req->src, req->assoclen); in starfive_aes_aead_crypt()
846 dst = scatterwalk_ffwd(_dst, req->dst, req->assoclen); in starfive_aes_aead_crypt()
/linux-6.12.1/include/crypto/
Dscatterwalk.h100 struct scatterlist *scatterwalk_ffwd(struct scatterlist dst[2],
/linux-6.12.1/drivers/crypto/
Domap-aes-gcm.c132 tmp = scatterwalk_ffwd(sg_arr, req->src, req->assoclen); in omap_aes_gcm_copy_buffers()
156 dd->out_sg = scatterwalk_ffwd(sg_arr, req->dst, req->assoclen); in omap_aes_gcm_copy_buffers()
Datmel-aes.c1003 src = scatterwalk_ffwd(ctx->src, req->src, ctx->offset); in atmel_aes_ctr_transfer()
1005 scatterwalk_ffwd(ctx->dst, req->dst, ctx->offset)); in atmel_aes_ctr_transfer()
1433 src = scatterwalk_ffwd(ctx->src, req->src, req->assoclen); in atmel_aes_gcm_data()
1435 scatterwalk_ffwd(ctx->dst, req->dst, req->assoclen)); in atmel_aes_gcm_data()
1835 src = scatterwalk_ffwd(rctx->src, req->src, req->assoclen); in atmel_aes_authenc_transfer()
1839 dst = scatterwalk_ffwd(rctx->dst, req->dst, req->assoclen); in atmel_aes_authenc_transfer()
/linux-6.12.1/arch/x86/crypto/
Daesni-intel_glue.c299 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_encrypt()
301 dst = scatterwalk_ffwd(sg_dst, req->dst, in cts_cbc_encrypt()
355 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_decrypt()
357 dst = scatterwalk_ffwd(sg_dst, req->dst, in cts_cbc_decrypt()
558 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_crypt_slowpath()
560 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in xts_crypt_slowpath()
/linux-6.12.1/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c406 sg = scatterwalk_ffwd(rctx->src + 1, areq->src, areq->assoclen); in nitrox_rfc4106_set_aead_rctx_sglist()
413 sg = scatterwalk_ffwd(rctx->dst + 1, areq->dst, areq->assoclen); in nitrox_rfc4106_set_aead_rctx_sglist()
/linux-6.12.1/drivers/crypto/qce/
Daead.c143 msg_sg = scatterwalk_ffwd(__sg, req->dst, assoclen); in qce_aead_prepare_dst_buf()
204 msg_sg = scatterwalk_ffwd(__sg, req->src, req->assoclen); in qce_aead_ccm_prepare_buf_assoclen()
/linux-6.12.1/drivers/crypto/ccp/
Dccp-ops.c685 p_inp = scatterwalk_ffwd(sg_inp, aes->src, aes->aad_len); in ccp_run_aes_gcm_cmd()
686 p_outp = scatterwalk_ffwd(sg_outp, aes->dst, aes->aad_len); in ccp_run_aes_gcm_cmd()
689 p_tag = scatterwalk_ffwd(sg_tag, p_outp, ilen); in ccp_run_aes_gcm_cmd()
693 p_tag = scatterwalk_ffwd(sg_tag, p_inp, ilen); in ccp_run_aes_gcm_cmd()
/linux-6.12.1/drivers/crypto/caam/
Dcaampkc.c277 req_ctx->fixup_src = scatterwalk_ffwd(req_ctx->src, req->src, in rsa_edesc_alloc()
/linux-6.12.1/drivers/crypto/amcc/
Dcrypto4xx_core.c732 dst = scatterwalk_ffwd(_dst, dst, assoclen); in crypto4xx_build_pd()

12