Home
last modified time | relevance | path

Searched refs:sg_src (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/arch/arm/crypto/
Daes-ce-glue.c273 struct scatterlist sg_src[2], sg_dst[2]; in cts_cbc_encrypt() local
301 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_encrypt()
331 struct scatterlist sg_src[2], sg_dst[2]; in cts_cbc_decrypt() local
359 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_decrypt()
450 struct scatterlist sg_src[2], sg_dst[2]; in xts_encrypt() local
496 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_encrypt()
522 struct scatterlist sg_src[2], sg_dst[2]; in xts_decrypt() local
568 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_decrypt()
/kernel/linux/linux-5.10/drivers/crypto/nx/
Dnx.c150 struct scatterlist *sg_src, in nx_walk_and_build() argument
161 scatterwalk_start(&walk, sg_src); in nx_walk_and_build()
163 if (start < offset + sg_src->length) in nx_walk_and_build()
166 offset += sg_src->length; in nx_walk_and_build()
167 sg_src = sg_next(sg_src); in nx_walk_and_build()
/kernel/linux/linux-5.10/arch/arm64/crypto/
Daes-glue.c278 struct scatterlist sg_src[2], sg_dst[2]; in cts_cbc_encrypt() local
305 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_encrypt()
335 struct scatterlist sg_src[2], sg_dst[2]; in cts_cbc_decrypt() local
362 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_decrypt()
513 struct scatterlist sg_src[2], sg_dst[2]; in xts_encrypt() local
559 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_encrypt()
585 struct scatterlist sg_src[2], sg_dst[2]; in xts_decrypt() local
631 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in xts_decrypt()
Daes-neonbs-glue.c325 struct scatterlist sg_src[2], sg_dst[2]; in __xts_crypt() local
395 dst = src = scatterwalk_ffwd(sg_src, req->src, req->cryptlen); in __xts_crypt()
/kernel/linux/linux-5.10/lib/crypto/
Dchacha20poly1305-selftest.c8891 struct scatterlist sg_src[3]; in chacha20poly1305_selftest() local
8926 sg_init_one(sg_src, computed_output, in chacha20poly1305_selftest()
8928 ret = chacha20poly1305_encrypt_sg_inplace(sg_src, in chacha20poly1305_selftest()
8968 sg_init_one(sg_src, computed_output, in chacha20poly1305_selftest()
8970 ret = chacha20poly1305_decrypt_sg_inplace(sg_src, in chacha20poly1305_selftest()
9032 sg_init_table(sg_src, 3); in chacha20poly1305_selftest()
9034 sg_set_buf(&sg_src[k++], input, i); in chacha20poly1305_selftest()
9036 sg_set_buf(&sg_src[k++], input + i, j - i); in chacha20poly1305_selftest()
9038 sg_set_buf(&sg_src[k++], input + j, total_len - j); in chacha20poly1305_selftest()
9039 sg_init_marker(sg_src, k); in chacha20poly1305_selftest()
[all …]
/kernel/linux/linux-5.10/arch/x86/crypto/
Daegis128-aesni-glue.c70 struct aegis_state *state, struct scatterlist *sg_src, in crypto_aegis128_aesni_process_ad() argument
77 scatterwalk_start(&walk, sg_src); in crypto_aegis128_aesni_process_ad()
/kernel/linux/linux-5.10/drivers/crypto/ux500/cryp/
Dcryp.h215 struct scatterlist *sg_src; member
Dcryp_core.c533 ctx->device->dma.sg_src = sg; in cryp_set_dma_transfer()
535 ctx->device->dma.sg_src, in cryp_set_dma_transfer()
550 ctx->device->dma.sg_src, in cryp_set_dma_transfer()
610 dma_unmap_sg(chan->device->dev, ctx->device->dma.sg_src, in cryp_dma_done()
/kernel/linux/linux-5.10/drivers/crypto/
Ds5p-sss.c309 struct scatterlist *sg_src; member
514 dma_unmap_sg(dev->dev, dev->sg_src, 1, DMA_TO_DEVICE); in s5p_unset_indata()
564 dev->sg_src = sg; in s5p_set_indata()
604 if (!sg_is_last(dev->sg_src)) { in s5p_aes_rx()
605 ret = s5p_set_indata(dev, sg_next(dev->sg_src)); in s5p_aes_rx()
749 s5p_set_dma_indata(dev, dev->sg_src); in s5p_aes_interrupt()
1957 s5p_set_dma_indata(dev, dev->sg_src); in s5p_aes_crypt_start()
/kernel/linux/linux-5.10/crypto/
Daegis128-core.c281 struct scatterlist *sg_src, in crypto_aegis128_process_ad() argument
288 scatterwalk_start(&walk, sg_src); in crypto_aegis128_process_ad()
/kernel/linux/linux-5.10/drivers/dma/
Dste_dma40.c2111 struct scatterlist *sg_src, struct scatterlist *sg_dst, in d40_prep_sg_log() argument
2120 ret = d40_log_sg_to_lli(sg_src, sg_len, in d40_prep_sg_log()
2139 struct scatterlist *sg_src, struct scatterlist *sg_dst, in d40_prep_sg_phy() argument
2152 ret = d40_phy_sg_to_lli(sg_src, sg_len, src_dev_addr, in d40_prep_sg_phy()
2209 d40_prep_sg(struct dma_chan *dchan, struct scatterlist *sg_src, in d40_prep_sg() argument
2229 desc = d40_prep_desc(chan, sg_src, sg_len, dma_flags); in d40_prep_sg()
2233 if (sg_next(&sg_src[sg_len - 1]) == sg_src) in d40_prep_sg()
2244 ret = d40_prep_sg_log(chan, desc, sg_src, sg_dst, in d40_prep_sg()
2247 ret = d40_prep_sg_phy(chan, desc, sg_src, sg_dst, in d40_prep_sg()