Home
last modified time | relevance | path

Searched refs:scatterwalk_map_and_copy (Results 1 – 25 of 73) sorted by relevance

123

/linux-6.12.1/crypto/
Dauthencesn.c99 scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); in crypto_authenc_esn_genicv_tail()
100 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_genicv_tail()
101 scatterwalk_map_and_copy(tmp, dst, 0, 8, 1); in crypto_authenc_esn_genicv_tail()
103 scatterwalk_map_and_copy(hash, dst, assoclen + cryptlen, authsize, 1); in crypto_authenc_esn_genicv_tail()
134 scatterwalk_map_and_copy(tmp, dst, 0, 8, 0); in crypto_authenc_esn_genicv()
135 scatterwalk_map_and_copy(tmp, dst, 4, 4, 1); in crypto_authenc_esn_genicv()
136 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_genicv()
234 scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); in crypto_authenc_esn_decrypt_tail()
235 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_decrypt_tail()
236 scatterwalk_map_and_copy(tmp, dst, 0, 8, 1); in crypto_authenc_esn_decrypt_tail()
[all …]
Dcts.c113 scatterwalk_map_and_copy(d + bsize, sg, 0, bsize, 0); in cts_cbc_encrypt()
116 scatterwalk_map_and_copy(d, req->src, offset, lastn, 0); in cts_cbc_encrypt()
118 scatterwalk_map_and_copy(d, sg, 0, bsize + lastn, 1); in cts_cbc_encrypt()
197 scatterwalk_map_and_copy(d + bsize, sg, 0, bsize, 0); in cts_cbc_decrypt()
202 scatterwalk_map_and_copy(d, req->src, offset, lastn, 0); in cts_cbc_decrypt()
211 scatterwalk_map_and_copy(d, sg, 0, bsize + lastn, 1); in cts_cbc_decrypt()
273 scatterwalk_map_and_copy(space, req->src, offset - 2 * bsize, in crypto_cts_decrypt()
Dxts.c151 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 0); in xts_cts_done()
153 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 1); in xts_cts_done()
174 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0); in xts_cts_final()
176 scatterwalk_map_and_copy(b, req->src, offset, tail, 0); in xts_cts_final()
180 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE + tail, 1); in xts_cts_final()
192 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0); in xts_cts_final()
194 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 1); in xts_cts_final()
Dscatterwalk.c55 void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg, in scatterwalk_map_and_copy() function
70 EXPORT_SYMBOL_GPL(scatterwalk_map_and_copy);
Dechainiv.c69 scatterwalk_map_and_copy(info, req->dst, req->assoclen, ivsize, 1); in echainiv_encrypt()
107 scatterwalk_map_and_copy(req->iv, req->src, req->assoclen, ivsize, 0); in echainiv_decrypt()
Dseqiv.c100 scatterwalk_map_and_copy(info, req->dst, req->assoclen, ivsize, 1); in seqiv_aead_encrypt()
130 scatterwalk_map_and_copy(req->iv, req->src, req->assoclen, ivsize, 0); in seqiv_aead_decrypt()
Daegis128-core.c406 scatterwalk_map_and_copy(tag.bytes, req->dst, req->assoclen + cryptlen, in crypto_aegis128_encrypt_generic()
422 scatterwalk_map_and_copy(tag.bytes, req->src, req->assoclen + cryptlen, in crypto_aegis128_decrypt_generic()
470 scatterwalk_map_and_copy(tag.bytes, req->dst, req->assoclen + cryptlen, in crypto_aegis128_encrypt_simd()
488 scatterwalk_map_and_copy(tag.bytes, req->src, req->assoclen + cryptlen, in crypto_aegis128_decrypt_simd()
Dauthenc.c124 scatterwalk_map_and_copy(ahreq->result, req->dst, in authenc_geniv_ahash_done()
154 scatterwalk_map_and_copy(hash, req->dst, req->assoclen + req->cryptlen, in crypto_authenc_genicv()
240 scatterwalk_map_and_copy(ihash, req->src, ahreq->nbytes, authsize, 0); in crypto_authenc_decrypt_tail()
Dscompress.c141 scatterwalk_map_and_copy(scratch->src, req->src, 0, in scomp_acomp_comp_decomp()
169 scatterwalk_map_and_copy(scratch->dst, req->dst, 0, in scomp_acomp_comp_decomp()
/linux-6.12.1/drivers/crypto/tegra/
Dtegra-se-aes.c108 scatterwalk_map_and_copy(req->iv, req->src, offset, ctx->ivsize, 0); in tegra_cbc_iv_copyback()
281 scatterwalk_map_and_copy(rctx->datbuf.buf, req->src, 0, req->cryptlen, 0); in tegra_aes_do_one_req()
289 scatterwalk_map_and_copy(rctx->datbuf.buf, req->dst, 0, req->cryptlen, 1); in tegra_aes_do_one_req()
713 scatterwalk_map_and_copy(rctx->inbuf.buf, in tegra_gcm_do_gmac()
730 scatterwalk_map_and_copy(rctx->inbuf.buf, rctx->src_sg, in tegra_gcm_do_crypt()
744 scatterwalk_map_and_copy(rctx->outbuf.buf, rctx->dst_sg, in tegra_gcm_do_crypt()
769 scatterwalk_map_and_copy(rctx->outbuf.buf, rctx->dst_sg, in tegra_gcm_do_final()
782 scatterwalk_map_and_copy(mac, rctx->src_sg, offset, rctx->authsize, 0); in tegra_gcm_do_verify()
989 scatterwalk_map_and_copy(rctx->inbuf.buf + offset, in tegra_ccm_format_blocks()
1026 scatterwalk_map_and_copy(rctx->outbuf.buf + 16, rctx->dst_sg, in tegra_ccm_ctr_result()
[all …]
/linux-6.12.1/arch/powerpc/crypto/
Daes-spe-glue.c344 scatterwalk_map_and_copy(b[0], req->dst, offset, AES_BLOCK_SIZE, 0); in ppc_xts_encrypt()
346 scatterwalk_map_and_copy(b[0], req->src, offset + AES_BLOCK_SIZE, tail, 0); in ppc_xts_encrypt()
353 scatterwalk_map_and_copy(b[0], req->dst, offset, AES_BLOCK_SIZE + tail, 1); in ppc_xts_encrypt()
383 scatterwalk_map_and_copy(b[1], req->src, offset, AES_BLOCK_SIZE + tail, 0); in ppc_xts_decrypt()
400 scatterwalk_map_and_copy(b[0], req->dst, offset, AES_BLOCK_SIZE + tail, 1); in ppc_xts_decrypt()
Daes-gcm-p10-glue.c241 scatterwalk_map_and_copy(assoc, req->src, 0, assoclen, 0); in p10_aes_gcm_crypt()
289 scatterwalk_map_and_copy(hash->Htable, req->dst, req->assoclen + cryptlen, in p10_aes_gcm_crypt()
292 scatterwalk_map_and_copy(otag, req->src, in p10_aes_gcm_crypt()
/linux-6.12.1/drivers/crypto/nx/
Dnx-aes-ccm.c220 scatterwalk_map_and_copy(b1 + 2, req->src, 0, in generate_pat()
225 scatterwalk_map_and_copy(b1 + 6, req->src, 0, in generate_pat()
344 scatterwalk_map_and_copy(priv->oauth_tag, in ccm_nx_decrypt()
468 scatterwalk_map_and_copy(csbcpb->cpb.aes_ccm.out_pat_or_mac, in ccm_nx_encrypt()
/linux-6.12.1/drivers/crypto/
Domap-aes-gcm.c68 scatterwalk_map_and_copy(rctx->auth_tag, in omap_aes_gcm_done_task()
193 scatterwalk_map_and_copy(tag, dd->aead_req->src, in omap_aes_gcm_dma_out_callback()
260 scatterwalk_map_and_copy(rctx->auth_tag, req->dst, 0, authlen, in omap_aes_gcm_crypt()
/linux-6.12.1/arch/x86/crypto/
Daegis128-aesni-glue.c202 scatterwalk_map_and_copy(tag.bytes, req->dst, in crypto_aegis128_aesni_encrypt()
222 scatterwalk_map_and_copy(tag.bytes, req->src, in crypto_aegis128_aesni_decrypt()
/linux-6.12.1/drivers/crypto/rockchip/
Drk3288_crypto_skcipher.c328 scatterwalk_map_and_copy(rctx->backup_iv, areq->src, in rk_cipher_run()
345 scatterwalk_map_and_copy(biv, sgs, offset, ivsize, 0); in rk_cipher_run()
397 scatterwalk_map_and_copy(iv, sgd, offset, ivsize, 0); in rk_cipher_run()
410 scatterwalk_map_and_copy(areq->iv, areq->dst, offset, in rk_cipher_run()
/linux-6.12.1/arch/arm64/crypto/
Dsm4-ce-gcm-glue.c211 scatterwalk_map_and_copy(ghash, req->dst, req->assoclen + req->cryptlen, in gcm_encrypt()
232 scatterwalk_map_and_copy(authtag, req->src, in gcm_decrypt()
Dsm4-ce-ccm-glue.c234 scatterwalk_map_and_copy(mac, req->dst, req->assoclen + req->cryptlen, in ccm_encrypt()
263 scatterwalk_map_and_copy(authtag, req->src, in ccm_decrypt()
Daes-ce-ccm-glue.c239 scatterwalk_map_and_copy(mac, req->dst, req->assoclen + req->cryptlen, in ccm_encrypt()
306 scatterwalk_map_and_copy(orig_iv, req->src, in ccm_decrypt()
/linux-6.12.1/drivers/crypto/cavium/nitrox/
Dnitrox_skcipher.c93 scatterwalk_map_and_copy(skreq->iv, skreq->dst, start, ivsize, in nitrox_cbc_cipher_callback()
97 scatterwalk_map_and_copy(skreq->iv, skreq->src, start, in nitrox_cbc_cipher_callback()
306 scatterwalk_map_and_copy(nkreq->iv_out, skreq->src, start, ivsize, 0); in nitrox_cbc_decrypt()
/linux-6.12.1/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-cipher.c50 scatterwalk_map_and_copy(ctx->backup_iv, areq->src, in sun4i_ss_opti_poll()
137 scatterwalk_map_and_copy(areq->iv, areq->dst, areq->cryptlen - ivsize, in sun4i_ss_opti_poll()
243 scatterwalk_map_and_copy(ctx->backup_iv, areq->src, in sun4i_ss_cipher_poll()
384 scatterwalk_map_and_copy(areq->iv, areq->dst, areq->cryptlen - ivsize, in sun4i_ss_cipher_poll()
/linux-6.12.1/include/crypto/
Dscatterwalk.h97 void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg,
/linux-6.12.1/arch/arm/crypto/
Daes-neonbs-glue.c347 scatterwalk_map_and_copy(buf, req->dst, req->cryptlen - AES_BLOCK_SIZE, in __xts_crypt()
350 scatterwalk_map_and_copy(buf, req->src, req->cryptlen, tail, 0); in __xts_crypt()
361 scatterwalk_map_and_copy(buf, req->dst, req->cryptlen - AES_BLOCK_SIZE, in __xts_crypt()
/linux-6.12.1/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-cipher.c138 scatterwalk_map_and_copy(sf->biv, areq->src, offset, in sun8i_ss_setup_ivs()
166 scatterwalk_map_and_copy(sf->iv[i], sg, offset, ivsize, 0); in sun8i_ss_setup_ivs()
319 scatterwalk_map_and_copy(areq->iv, areq->dst, offset, in sun8i_ss_cipher()
/linux-6.12.1/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-cipher.c200 scatterwalk_map_and_copy(chan->backup_iv, areq->src, in sun8i_ce_cipher_prepare()
290 scatterwalk_map_and_copy(areq->iv, areq->dst, offset, in sun8i_ce_cipher_prepare()
338 scatterwalk_map_and_copy(areq->iv, areq->dst, offset, in sun8i_ce_cipher_unprepare()

123