Home
last modified time | relevance | path

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

123

/Linux-v5.15/crypto/
Dauthencesn.c102 scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); in crypto_authenc_esn_genicv_tail()
103 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_genicv_tail()
104 scatterwalk_map_and_copy(tmp, dst, 0, 8, 1); in crypto_authenc_esn_genicv_tail()
106 scatterwalk_map_and_copy(hash, dst, assoclen + cryptlen, authsize, 1); in crypto_authenc_esn_genicv_tail()
139 scatterwalk_map_and_copy(tmp, dst, 0, 8, 0); in crypto_authenc_esn_genicv()
140 scatterwalk_map_and_copy(tmp, dst, 4, 4, 1); in crypto_authenc_esn_genicv()
141 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_genicv()
241 scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); in crypto_authenc_esn_decrypt_tail()
242 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_decrypt_tail()
243 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.c101 scatterwalk_map_and_copy(info, req->dst, req->assoclen, ivsize, 1); in seqiv_aead_encrypt()
131 scatterwalk_map_and_copy(req->iv, req->src, req->assoclen, ivsize, 0); in seqiv_aead_decrypt()
Daegis128-core.c405 scatterwalk_map_and_copy(tag.bytes, req->dst, req->assoclen + cryptlen, in crypto_aegis128_encrypt_generic()
421 scatterwalk_map_and_copy(tag.bytes, req->src, req->assoclen + cryptlen, in crypto_aegis128_decrypt_generic()
469 scatterwalk_map_and_copy(tag.bytes, req->dst, req->assoclen + cryptlen, in crypto_aegis128_encrypt_simd()
487 scatterwalk_map_and_copy(tag.bytes, req->src, req->assoclen + cryptlen, in crypto_aegis128_decrypt_simd()
Dscompress.c141 scatterwalk_map_and_copy(scratch->src, req->src, 0, req->slen, 0); in scomp_acomp_comp_decomp()
156 scatterwalk_map_and_copy(scratch->dst, req->dst, 0, req->dlen, in scomp_acomp_comp_decomp()
Dauthenc.c124 scatterwalk_map_and_copy(ahreq->result, req->dst, in authenc_geniv_ahash_done()
157 scatterwalk_map_and_copy(hash, req->dst, req->assoclen + req->cryptlen, in crypto_authenc_genicv()
244 scatterwalk_map_and_copy(ihash, req->src, ahreq->nbytes, authsize, 0); in crypto_authenc_decrypt_tail()
Dccm.c235 scatterwalk_map_and_copy(odata, req->dst, in crypto_ccm_encrypt_done()
318 scatterwalk_map_and_copy(odata, sg_next(dst), cryptlen, in crypto_ccm_encrypt()
365 scatterwalk_map_and_copy(authtag, sg_next(pctx->src), cryptlen, in crypto_ccm_decrypt()
621 scatterwalk_map_and_copy(iv + 16, req->src, 0, req->assoclen - 8, 0); in crypto_rfc4309_crypt()
/Linux-v5.15/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()
/Linux-v5.15/drivers/crypto/nx/
Dnx-aes-ccm.c223 scatterwalk_map_and_copy(b1 + 2, req->src, 0, in generate_pat()
228 scatterwalk_map_and_copy(b1 + 6, req->src, 0, in generate_pat()
347 scatterwalk_map_and_copy(priv->oauth_tag, in ccm_nx_decrypt()
471 scatterwalk_map_and_copy(csbcpb->cpb.aes_ccm.out_pat_or_mac, in ccm_nx_encrypt()
/Linux-v5.15/drivers/crypto/
Domap-aes-gcm.c65 scatterwalk_map_and_copy(rctx->auth_tag, in omap_aes_gcm_done_task()
190 scatterwalk_map_and_copy(tag, dd->aead_req->src, in omap_aes_gcm_dma_out_callback()
259 scatterwalk_map_and_copy(rctx->auth_tag, req->dst, 0, authlen, in omap_aes_gcm_crypt()
Domap-crypto.c73 scatterwalk_map_and_copy(buf, *sg, 0, total, 0); in omap_crypto_copy_sgs()
/Linux-v5.15/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-v5.15/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-v5.15/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-cipher.c54 scatterwalk_map_and_copy(backup_iv, areq->src, areq->cryptlen - ivsize, ivsize, 0); in sun4i_ss_opti_poll()
140 scatterwalk_map_and_copy(areq->iv, areq->dst, areq->cryptlen - ivsize, in sun4i_ss_opti_poll()
250 scatterwalk_map_and_copy(backup_iv, areq->src, areq->cryptlen - ivsize, ivsize, 0); in sun4i_ss_cipher_poll()
390 scatterwalk_map_and_copy(areq->iv, areq->dst, areq->cryptlen - ivsize, in sun4i_ss_cipher_poll()
/Linux-v5.15/include/crypto/
Dscatterwalk.h103 void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg,
/Linux-v5.15/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-cipher.c166 scatterwalk_map_and_copy(rctx->backup_iv, areq->src, in sun8i_ce_cipher_prepare()
262 scatterwalk_map_and_copy(areq->iv, areq->dst, offset, in sun8i_ce_cipher_prepare()
325 scatterwalk_map_and_copy(areq->iv, areq->dst, offset, in sun8i_ce_cipher_unprepare()
/Linux-v5.15/arch/arm/crypto/
Daes-neonbs-glue.c397 scatterwalk_map_and_copy(buf, req->dst, req->cryptlen - AES_BLOCK_SIZE, in __xts_crypt()
400 scatterwalk_map_and_copy(buf, req->src, req->cryptlen, tail, 0); in __xts_crypt()
411 scatterwalk_map_and_copy(buf, req->dst, req->cryptlen - AES_BLOCK_SIZE, in __xts_crypt()
/Linux-v5.15/arch/arm64/crypto/
Daes-ce-ccm-glue.c273 scatterwalk_map_and_copy(mac, req->dst, req->assoclen + req->cryptlen, in ccm_encrypt()
332 scatterwalk_map_and_copy(buf, req->src, in ccm_decrypt()
/Linux-v5.15/drivers/crypto/amlogic/
Damlogic-gxl-cipher.c145 scatterwalk_map_and_copy(backup_iv, areq->src, offset, in meson_cipher()
249 scatterwalk_map_and_copy(areq->iv, areq->dst, in meson_cipher()
/Linux-v5.15/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c38 scatterwalk_map_and_copy(rctx->buf, rctx->src, in ccp_aes_cmac_complete()
78 scatterwalk_map_and_copy(rctx->buf + rctx->buf_count, req->src, in ccp_do_cmac_update()
/Linux-v5.15/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-cipher.c149 scatterwalk_map_and_copy(backup_iv, areq->src, offset, in sun8i_ss_cipher()
256 scatterwalk_map_and_copy(areq->iv, areq->dst, offset, in sun8i_ss_cipher()
/Linux-v5.15/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c161 scatterwalk_map_and_copy(req->dst_align, areq->dst, 0, in qat_dh_cb()
292 scatterwalk_map_and_copy(qat_req->src_align + shift, in qat_dh_compute_value()
522 scatterwalk_map_and_copy(req->dst_align, areq->dst, 0, in qat_rsa_cb()
696 scatterwalk_map_and_copy(qat_req->src_align + shift, req->src, in qat_rsa_enc()
840 scatterwalk_map_and_copy(qat_req->src_align + shift, req->src, in qat_rsa_dec()

123