Lines Matching defs:sctx
23 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
25 memset(sctx->state, 0, sizeof(sctx->state));
26 sctx->count = 0;
27 sctx->func = CPACF_KIMD_SHA3_256;
34 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
37 octx->rsiz = sctx->count;
38 memcpy(octx->st, sctx->state, sizeof(octx->st));
39 memcpy(octx->buf, sctx->buf, sizeof(octx->buf));
46 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
49 sctx->count = ictx->rsiz;
50 memcpy(sctx->state, ictx->st, sizeof(ictx->st));
51 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf));
52 sctx->func = CPACF_KIMD_SHA3_256;
59 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
62 sctx->count = ictx->rsiz;
63 memcpy(sctx->state, ictx->st, sizeof(ictx->st));
64 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf));
65 sctx->func = CPACF_KIMD_SHA3_224;
90 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
92 memset(sctx->state, 0, sizeof(sctx->state));
93 sctx->count = 0;
94 sctx->func = CPACF_KIMD_SHA3_224;