Home
last modified time | relevance | path

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

/Linux-v5.15/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.c144 dst = scatterwalk_ffwd(areq_ctx->dst, dst, 4); in crypto_authenc_esn_genicv()
195 src = scatterwalk_ffwd(areq_ctx->src, req->src, assoclen); in crypto_authenc_esn_encrypt()
204 dst = scatterwalk_ffwd(areq_ctx->dst, req->dst, assoclen); in crypto_authenc_esn_encrypt()
251 dst = scatterwalk_ffwd(areq_ctx->dst, dst, assoclen); in crypto_authenc_esn_decrypt_tail()
307 dst = scatterwalk_ffwd(areq_ctx->dst, dst, 4); in crypto_authenc_esn_decrypt()
Dauthenc.c206 src = scatterwalk_ffwd(areq_ctx->src, req->src, req->assoclen); in crypto_authenc_encrypt()
214 dst = scatterwalk_ffwd(areq_ctx->dst, req->dst, req->assoclen); in crypto_authenc_encrypt()
249 src = scatterwalk_ffwd(areq_ctx->src, req->src, req->assoclen); in crypto_authenc_decrypt_tail()
253 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.c270 sg = scatterwalk_ffwd(pctx->src + 1, req->src, req->assoclen); in crypto_ccm_init_crypt()
277 sg = scatterwalk_ffwd(pctx->dst + 1, req->dst, req->assoclen); in crypto_ccm_init_crypt()
625 sg = scatterwalk_ffwd(rctx->src + 1, req->src, req->assoclen); in crypto_rfc4309_crypt()
632 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()
740 sg = scatterwalk_ffwd(rctx->src + 1, req->src, req->assoclen); in crypto_rfc4106_crypt()
747 sg = scatterwalk_ffwd(rctx->dst + 1, req->dst, req->assoclen); in crypto_rfc4106_crypt()
Dxts.c171 rctx->tail = scatterwalk_ffwd(rctx->sg, req->dst, in xts_cts_final()
Dessiv.c234 sg = scatterwalk_ffwd(rctx->sg + 2, req->src, req->assoclen); in essiv_aead_crypt()
/Linux-v5.15/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-v5.15/arch/arm64/crypto/
Daes-glue.c307 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_encrypt()
309 dst = scatterwalk_ffwd(sg_dst, req->dst, in cts_cbc_encrypt()
364 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_decrypt()
366 dst = scatterwalk_ffwd(sg_dst, req->dst, in cts_cbc_decrypt()
563 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_encrypt()
565 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in xts_encrypt()
635 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_decrypt()
637 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in xts_decrypt()
Daes-neonbs-glue.c395 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in __xts_crypt()
397 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in __xts_crypt()
/Linux-v5.15/arch/x86/crypto/
Daesni-intel_glue.c399 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_encrypt()
401 dst = scatterwalk_ffwd(sg_dst, req->dst, in cts_cbc_encrypt()
455 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_decrypt()
457 dst = scatterwalk_ffwd(sg_dst, req->dst, in cts_cbc_decrypt()
906 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_crypt()
908 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in xts_crypt()
/Linux-v5.15/include/crypto/
Dscatterwalk.h106 struct scatterlist *scatterwalk_ffwd(struct scatterlist dst[2],
/Linux-v5.15/drivers/crypto/
Domap-aes-gcm.c129 tmp = scatterwalk_ffwd(sg_arr, req->src, req->assoclen); in omap_aes_gcm_copy_buffers()
153 dd->out_sg = scatterwalk_ffwd(sg_arr, req->dst, req->assoclen); in omap_aes_gcm_copy_buffers()
Datmel-aes.c1036 src = scatterwalk_ffwd(ctx->src, req->src, ctx->offset); in atmel_aes_ctr_transfer()
1038 scatterwalk_ffwd(ctx->dst, req->dst, ctx->offset)); in atmel_aes_ctr_transfer()
1633 src = scatterwalk_ffwd(ctx->src, req->src, req->assoclen); in atmel_aes_gcm_data()
1635 scatterwalk_ffwd(ctx->dst, req->dst, req->assoclen)); in atmel_aes_gcm_data()
2037 src = scatterwalk_ffwd(rctx->src, req->src, req->assoclen); in atmel_aes_authenc_transfer()
2041 dst = scatterwalk_ffwd(rctx->dst, req->dst, req->assoclen); in atmel_aes_authenc_transfer()
Dtalitos.c2049 req_ctx->psrc = scatterwalk_ffwd(req_ctx->bufsl, areq->src, in ahash_process_req()
/Linux-v5.15/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-v5.15/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-v5.15/drivers/crypto/ccp/
Dccp-ops.c682 p_inp = scatterwalk_ffwd(sg_inp, aes->src, aes->aad_len); in ccp_run_aes_gcm_cmd()
683 p_outp = scatterwalk_ffwd(sg_outp, aes->dst, aes->aad_len); in ccp_run_aes_gcm_cmd()
686 p_tag = scatterwalk_ffwd(sg_tag, p_outp, ilen); in ccp_run_aes_gcm_cmd()
690 p_tag = scatterwalk_ffwd(sg_tag, p_inp, ilen); in ccp_run_aes_gcm_cmd()
/Linux-v5.15/drivers/crypto/caam/
Dcaampkc.c269 req_ctx->fixup_src = scatterwalk_ffwd(req_ctx->src, req->src, in rsa_edesc_alloc()
/Linux-v5.15/drivers/crypto/amcc/
Dcrypto4xx_core.c734 dst = scatterwalk_ffwd(_dst, dst, assoclen); in crypto4xx_build_pd()