Lines Matching refs:sa
595 struct dynamic_sa_ctl *sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_copy_digest_to_dst() local
599 if (sa->sa_command_0.bf.hash_alg == SA_HASH_ALG_SHA1) { in crypto4xx_copy_digest_to_dst()
768 struct dynamic_sa_ctl *sa; in crypto4xx_build_pd() local
843 pd->sa = pd_uinfo->sa_pa; in crypto4xx_build_pd()
844 sa = (struct dynamic_sa_ctl *) pd_uinfo->sa_va; in crypto4xx_build_pd()
846 memcpy(sa, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_build_pd()
848 memcpy(sa, ctx->sa_out, ctx->sa_len * 4); in crypto4xx_build_pd()
850 memcpy((void *) sa + ctx->offset_to_sr_ptr, in crypto4xx_build_pd()
857 pd->sa = ctx->sa_in_dma_addr; in crypto4xx_build_pd()
858 sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_build_pd()
860 pd->sa = ctx->sa_out_dma_addr; in crypto4xx_build_pd()
861 sa = (struct dynamic_sa_ctl *) ctx->sa_out; in crypto4xx_build_pd()
873 sa->sa_command_0.bf.gather = 1; in crypto4xx_build_pd()
898 sa->sa_command_0.bf.gather = 0; in crypto4xx_build_pd()
915 sa->sa_command_0.bf.scatter = 0; in crypto4xx_build_pd()
926 sa->sa_command_0.bf.scatter = 1; in crypto4xx_build_pd()
959 sa->sa_command_1.bf.hash_crypto_offset = 0; in crypto4xx_build_pd()