Home
last modified time | relevance | path

Searched refs:dst_sg_idx (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/crypto/caam/
H A Dcaamalg_qi.c1257 int dst_sg_idx, qm_sg_ents, qm_sg_bytes; in skcipher_edesc_alloc() local
1304 dst_sg_idx = qm_sg_ents; in skcipher_edesc_alloc()
1364 sg_to_qm_sg(req->dst, req->cryptlen, sg_table + dst_sg_idx, 0); in skcipher_edesc_alloc()
1366 dma_to_qm_sg_one(sg_table + dst_sg_idx + mapped_dst_nents, iv_dma, in skcipher_edesc_alloc()
1389 dma_to_qm_sg_one_ext(&fd_sgt[0], edesc->qm_sg_dma + dst_sg_idx * in skcipher_edesc_alloc()
H A Dcaamalg.c1607 int dst_sg_idx, sec4_sg_ents, sec4_sg_bytes; in skcipher_edesc_alloc() local
1652 dst_sg_idx = sec4_sg_ents; in skcipher_edesc_alloc()
1715 if (dst_sg_idx) in skcipher_edesc_alloc()
1721 dst_sg_idx, 0); in skcipher_edesc_alloc()
1724 dma_to_sec4_sg_one(edesc->sec4_sg + dst_sg_idx + in skcipher_edesc_alloc()
1728 sg_to_sec4_set_last(edesc->sec4_sg + dst_sg_idx + in skcipher_edesc_alloc()
H A Dcaamalg_qi2.c1121 int dst_sg_idx, qm_sg_ents, qm_sg_bytes; in skcipher_edesc_alloc() local
1163 dst_sg_idx = qm_sg_ents; in skcipher_edesc_alloc()
1220 sg_to_qm_sg(req->dst, req->cryptlen, sg_table + dst_sg_idx, 0); in skcipher_edesc_alloc()
1222 dma_to_qm_sg_one(sg_table + dst_sg_idx + mapped_dst_nents, iv_dma, in skcipher_edesc_alloc()
1249 dpaa2_fl_set_addr(out_fle, edesc->qm_sg_dma + dst_sg_idx * in skcipher_edesc_alloc()