Lines Matching refs:sec4_sg_src_index
753 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()
907 sg_to_sec4_set_last(edesc->sec4_sg + sec4_sg_src_index - 1); in ahash_final_ctx()
954 int sec4_sg_src_index; in ahash_finup_ctx() local
977 sec4_sg_src_index = 1 + (buflen ? 1 : 0); in ahash_finup_ctx()
980 edesc = ahash_edesc_alloc(ctx, sec4_sg_src_index + mapped_nents, in ahash_finup_ctx()
1002 sec4_sg_src_index, ctx->ctx_len + buflen, in ahash_finup_ctx()
1306 int sec4_sg_bytes, sec4_sg_src_index, src_nents, mapped_nents; in ahash_finup_no_ctx() local
1328 sec4_sg_src_index = 2; in ahash_finup_no_ctx()
1329 sec4_sg_bytes = (sec4_sg_src_index + mapped_nents) * in ahash_finup_no_ctx()
1333 edesc = ahash_edesc_alloc(ctx, sec4_sg_src_index + mapped_nents, in ahash_finup_no_ctx()