Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/crypto/caam/
H A Dcaamalg_qi2.c3529 int src_nents, mapped_nents, qm_sg_bytes, qm_sg_src_index; in ahash_update_ctx() local
3566 qm_sg_src_index = 1 + (*buflen ? 1 : 0); in ahash_update_ctx()
3567 qm_sg_bytes = pad_sg_nents(qm_sg_src_index + mapped_nents) * in ahash_update_ctx()
3582 sg_table + qm_sg_src_index, 0); in ahash_update_ctx()
3584 dpaa2_sg_set_final(sg_table + qm_sg_src_index - 1, in ahash_update_ctx()
3716 int qm_sg_bytes, qm_sg_src_index; in ahash_finup_ctx() local
3748 qm_sg_src_index = 1 + (buflen ? 1 : 0); in ahash_finup_ctx()
3749 qm_sg_bytes = pad_sg_nents(qm_sg_src_index + mapped_nents) * in ahash_finup_ctx()
3762 sg_to_qm_sg_last(req->src, req->nbytes, sg_table + qm_sg_src_index, 0); in ahash_finup_ctx()