Lines Matching refs:sa
593 struct dynamic_sa_ctl *sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_copy_digest_to_dst() local
597 if (sa->sa_command_0.bf.hash_alg == SA_HASH_ALG_SHA1) { in crypto4xx_copy_digest_to_dst()
775 struct dynamic_sa_ctl *sa; in crypto4xx_build_pd() local
854 pd->sa = pd_uinfo->sa_pa; in crypto4xx_build_pd()
855 sa = (struct dynamic_sa_ctl *) pd_uinfo->sa_va; in crypto4xx_build_pd()
857 memcpy(sa, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_build_pd()
859 memcpy(sa, ctx->sa_out, ctx->sa_len * 4); in crypto4xx_build_pd()
861 memcpy((void *) sa + ctx->offset_to_sr_ptr, in crypto4xx_build_pd()
868 pd->sa = ctx->sa_in_dma_addr; in crypto4xx_build_pd()
869 sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_build_pd()
871 pd->sa = ctx->sa_out_dma_addr; in crypto4xx_build_pd()
872 sa = (struct dynamic_sa_ctl *) ctx->sa_out; in crypto4xx_build_pd()
884 sa->sa_command_0.bf.gather = 1; in crypto4xx_build_pd()
909 sa->sa_command_0.bf.gather = 0; in crypto4xx_build_pd()
926 sa->sa_command_0.bf.scatter = 0; in crypto4xx_build_pd()
937 sa->sa_command_0.bf.scatter = 1; in crypto4xx_build_pd()
970 sa->sa_command_1.bf.hash_crypto_offset = 0; in crypto4xx_build_pd()