Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/caam/
Dcaamhash.c753 int src_nents, mapped_nents, sec4_sg_bytes, sec4_sg_src_index; in ahash_update_ctx() local
780 sec4_sg_src_index = 1 + (*buflen ? 1 : 0); in ahash_update_ctx()
781 sec4_sg_bytes = (sec4_sg_src_index + mapped_nents) * in ahash_update_ctx()
788 edesc = ahash_edesc_alloc(ctx, sec4_sg_src_index + mapped_nents, in ahash_update_ctx()
810 edesc->sec4_sg + sec4_sg_src_index, in ahash_update_ctx()
817 sg_to_sec4_set_last(edesc->sec4_sg + sec4_sg_src_index - in ahash_update_ctx()
879 int sec4_sg_bytes, sec4_sg_src_index; in ahash_final_ctx() local
884 sec4_sg_src_index = 1 + (buflen ? 1 : 0); in ahash_final_ctx()
885 sec4_sg_bytes = sec4_sg_src_index * sizeof(struct sec4_sg_entry); in ahash_final_ctx()
888 edesc = ahash_edesc_alloc(ctx, sec4_sg_src_index, in ahash_final_ctx()
[all …]