Home
last modified time | relevance | path

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

/Linux-v5.4/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.c154 dst = scatterwalk_ffwd(areq_ctx->dst, dst, 4); in crypto_authenc_esn_genicv()
205 src = scatterwalk_ffwd(areq_ctx->src, req->src, assoclen); in crypto_authenc_esn_encrypt()
214 dst = scatterwalk_ffwd(areq_ctx->dst, req->dst, assoclen); in crypto_authenc_esn_encrypt()
261 dst = scatterwalk_ffwd(areq_ctx->dst, dst, assoclen); in crypto_authenc_esn_decrypt_tail()
317 dst = scatterwalk_ffwd(areq_ctx->dst, dst, 4); in crypto_authenc_esn_decrypt()
Dauthenc.c216 src = scatterwalk_ffwd(areq_ctx->src, req->src, req->assoclen); in crypto_authenc_encrypt()
224 dst = scatterwalk_ffwd(areq_ctx->dst, req->dst, req->assoclen); in crypto_authenc_encrypt()
259 src = scatterwalk_ffwd(areq_ctx->src, req->src, req->assoclen); in crypto_authenc_decrypt_tail()
263 dst = scatterwalk_ffwd(areq_ctx->dst, req->dst, req->assoclen); in crypto_authenc_decrypt_tail()
Dchacha20poly1305.c138 src = scatterwalk_ffwd(rctx->src, req->src, req->assoclen); in chacha_decrypt()
141 dst = scatterwalk_ffwd(rctx->dst, req->dst, req->assoclen); in chacha_decrypt()
241 crypt = scatterwalk_ffwd(rctx->src, crypt, req->assoclen); in poly_cipher()
414 src = scatterwalk_ffwd(rctx->src, req->src, req->assoclen); in chacha_encrypt()
417 dst = scatterwalk_ffwd(rctx->dst, req->dst, req->assoclen); in chacha_encrypt()
Dcts.c116 sg = scatterwalk_ffwd(rctx->sg, req->dst, offset - bsize); in cts_cbc_encrypt()
198 sg = scatterwalk_ffwd(rctx->sg, req->dst, offset - bsize); in cts_cbc_decrypt()
Dccm.c278 sg = scatterwalk_ffwd(pctx->src + 1, req->src, req->assoclen); in crypto_ccm_init_crypt()
285 sg = scatterwalk_ffwd(pctx->dst + 1, req->dst, req->assoclen); in crypto_ccm_init_crypt()
663 sg = scatterwalk_ffwd(rctx->src + 1, req->src, req->assoclen); in crypto_rfc4309_crypt()
670 sg = scatterwalk_ffwd(rctx->dst + 1, req->dst, req->assoclen); in crypto_rfc4309_crypt()
Dgcm.c170 sg = scatterwalk_ffwd(pctx->src + 1, req->src, req->assoclen); in crypto_gcm_init_common()
177 sg = scatterwalk_ffwd(pctx->dst + 1, req->dst, req->assoclen); in crypto_gcm_init_common()
779 sg = scatterwalk_ffwd(rctx->src + 1, req->src, req->assoclen); in crypto_rfc4106_crypt()
786 sg = scatterwalk_ffwd(rctx->dst + 1, req->dst, req->assoclen); in crypto_rfc4106_crypt()
Dxts.c174 rctx->tail = scatterwalk_ffwd(rctx->sg, req->dst, in cts_final()
Dessiv.c252 sg = scatterwalk_ffwd(rctx->sg + 2, req->src, req->assoclen); in essiv_aead_crypt()
/Linux-v5.4/arch/arm/crypto/
Daes-ce-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()
369 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_decrypt()
371 dst = scatterwalk_ffwd(sg_dst, req->dst, in cts_cbc_decrypt()
506 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_encrypt()
508 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in xts_encrypt()
578 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_decrypt()
580 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in xts_decrypt()
/Linux-v5.4/arch/arm64/crypto/
Daes-glue.c323 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_encrypt()
325 dst = scatterwalk_ffwd(sg_dst, req->dst, in cts_cbc_encrypt()
380 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_decrypt()
382 dst = scatterwalk_ffwd(sg_dst, req->dst, in cts_cbc_decrypt()
577 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_encrypt()
579 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in xts_encrypt()
649 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_decrypt()
651 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in xts_decrypt()
Daes-neonbs-glue.c394 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in __xts_crypt()
396 dst = scatterwalk_ffwd(sg_dst, req->dst, req->cryptlen); in __xts_crypt()
/Linux-v5.4/include/crypto/
Dscatterwalk.h111 struct scatterlist *scatterwalk_ffwd(struct scatterlist dst[2],
/Linux-v5.4/arch/x86/crypto/
Dglue_helper.c316 dst = src = scatterwalk_ffwd(s, req->src, req->cryptlen); in glue_xts_req_128bit()
318 dst = scatterwalk_ffwd(d, req->dst, req->cryptlen); in glue_xts_req_128bit()
Daesni-intel_glue.c753 src_sg = scatterwalk_ffwd(src_start, req->src, req->assoclen); in gcmaes_crypt_by_sg()
756 dst_sg = scatterwalk_ffwd(dst_start, req->dst, in gcmaes_crypt_by_sg()
/Linux-v5.4/drivers/crypto/
Domap-aes-gcm.c126 tmp = scatterwalk_ffwd(sg_arr, req->src, req->assoclen); in omap_aes_gcm_copy_buffers()
145 dd->out_sg = scatterwalk_ffwd(sg_arr, req->dst, assoclen); in omap_aes_gcm_copy_buffers()
Datmel-aes.c1048 src = scatterwalk_ffwd(ctx->src, req->src, ctx->offset); in atmel_aes_ctr_transfer()
1050 scatterwalk_ffwd(ctx->dst, req->dst, ctx->offset)); in atmel_aes_ctr_transfer()
1652 src = scatterwalk_ffwd(ctx->src, req->src, req->assoclen); in atmel_aes_gcm_data()
1654 scatterwalk_ffwd(ctx->dst, req->dst, req->assoclen)); in atmel_aes_gcm_data()
2053 src = scatterwalk_ffwd(rctx->src, req->src, req->assoclen); in atmel_aes_authenc_transfer()
2057 dst = scatterwalk_ffwd(rctx->dst, req->dst, req->assoclen); in atmel_aes_authenc_transfer()
Dtalitos.c2047 req_ctx->psrc = scatterwalk_ffwd(req_ctx->bufsl, areq->src, in ahash_process_req()
/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c376 sg = scatterwalk_ffwd(rctx->src + 1, areq->src, areq->assoclen); in nitrox_rfc4106_set_aead_rctx_sglist()
383 sg = scatterwalk_ffwd(rctx->dst + 1, areq->dst, areq->assoclen); in nitrox_rfc4106_set_aead_rctx_sglist()
/Linux-v5.4/drivers/crypto/ccp/
Dccp-ops.c667 p_inp = scatterwalk_ffwd(sg_inp, aes->src, aes->aad_len); in ccp_run_aes_gcm_cmd()
668 p_outp = scatterwalk_ffwd(sg_outp, aes->dst, aes->aad_len); in ccp_run_aes_gcm_cmd()
671 p_tag = scatterwalk_ffwd(sg_tag, p_outp, ilen); in ccp_run_aes_gcm_cmd()
675 p_tag = scatterwalk_ffwd(sg_tag, p_inp, ilen); in ccp_run_aes_gcm_cmd()
/Linux-v5.4/drivers/crypto/mediatek/
Dmtk-aes.c600 src = scatterwalk_ffwd(cctx->src, req->src, cctx->offset); in mtk_aes_ctr_transfer()
602 scatterwalk_ffwd(cctx->dst, req->dst, cctx->offset)); in mtk_aes_ctr_transfer()
/Linux-v5.4/drivers/crypto/caam/
Dcaampkc.c271 req_ctx->fixup_src = scatterwalk_ffwd(req_ctx->src, req->src, in rsa_edesc_alloc()
/Linux-v5.4/drivers/crypto/amcc/
Dcrypto4xx_core.c737 dst = scatterwalk_ffwd(_dst, dst, assoclen); in crypto4xx_build_pd()