/linux/crypto/ |
H A D | authencesn.c | 99 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 …]
|
H A D | cts.c | 113 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()
|
H A D | xts.c | 151 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()
|
H A D | scatterwalk.c | 55 void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg, in scatterwalk_map_and_copy() function 70 EXPORT_SYMBOL_GPL(scatterwalk_map_and_copy);
|
H A D | echainiv.c | 69 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()
|
H A D | seqiv.c | 100 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()
|
H A D | aegis128-core.c | 406 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()
|
H A D | authenc.c | 124 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()
|
H A D | scompress.c | 141 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()
|
H A D | ccm.c | 236 scatterwalk_map_and_copy(odata, req->dst, in crypto_ccm_encrypt_done() 319 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() 619 scatterwalk_map_and_copy(iv + 16, req->src, 0, req->assoclen - 8, 0); in crypto_rfc4309_crypt()
|
/linux/arch/powerpc/crypto/ |
H A D | aes-spe-glue.c | 344 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/drivers/crypto/nx/ |
H A D | nx-aes-ccm.c | 220 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/drivers/crypto/ |
H A D | omap-aes-gcm.c | 68 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/drivers/crypto/rockchip/ |
H A D | rk3288_crypto_skcipher.c | 328 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/arch/arm64/crypto/ |
H A D | sm4-ce-gcm-glue.c | 211 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()
|
H A D | sm4-ce-ccm-glue.c | 234 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()
|
H A D | aes-ce-ccm-glue.c | 239 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/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_skcipher.c | 93 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/drivers/crypto/allwinner/sun4i-ss/ |
H A D | sun4i-ss-cipher.c | 50 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/arch/arm/crypto/ |
H A D | aes-neonbs-glue.c | 347 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/include/crypto/ |
H A D | scatterwalk.h | 97 void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg,
|
/linux/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-cipher.c | 138 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/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-cipher.c | 200 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()
|
/linux/drivers/crypto/amlogic/ |
H A D | amlogic-gxl-cipher.c | 145 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/drivers/crypto/ccp/ |
H A D | ccp-crypto-aes-cmac.c | 38 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()
|