Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/caam/
H A Dcaamalg_qi2.c3543 int src_nents, mapped_nents, qm_sg_bytes, qm_sg_src_index; in ahash_update_ctx() local
3580 qm_sg_src_index = 1 + (*buflen ? 1 : 0); in ahash_update_ctx()
3581 qm_sg_bytes = pad_sg_nents(qm_sg_src_index + mapped_nents) * in ahash_update_ctx()
3596 sg_table + qm_sg_src_index, 0); in ahash_update_ctx()
3598 dpaa2_sg_set_final(sg_table + qm_sg_src_index - 1, in ahash_update_ctx()
3730 int qm_sg_bytes, qm_sg_src_index; in ahash_finup_ctx() local
3762 qm_sg_src_index = 1 + (buflen ? 1 : 0); in ahash_finup_ctx()
3763 qm_sg_bytes = pad_sg_nents(qm_sg_src_index + mapped_nents) * in ahash_finup_ctx()
3776 sg_to_qm_sg_last(req->src, req->nbytes, sg_table + qm_sg_src_index, 0); in ahash_finup_ctx()