Lines Matching defs:sctx
22 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
24 memset(sctx->state, 0, sizeof(sctx->state));
25 sctx->count = 0;
26 sctx->func = CPACF_KIMD_SHA3_256;
33 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
36 octx->rsiz = sctx->count;
37 memcpy(octx->st, sctx->state, sizeof(octx->st));
38 memcpy(octx->buf, sctx->buf, sizeof(octx->buf));
45 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
48 sctx->count = ictx->rsiz;
49 memcpy(sctx->state, ictx->st, sizeof(ictx->st));
50 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf));
51 sctx->func = CPACF_KIMD_SHA3_256;
58 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
61 sctx->count = ictx->rsiz;
62 memcpy(sctx->state, ictx->st, sizeof(ictx->st));
63 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf));
64 sctx->func = CPACF_KIMD_SHA3_224;
89 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
91 memset(sctx->state, 0, sizeof(sctx->state));
92 sctx->count = 0;
93 sctx->func = CPACF_KIMD_SHA3_224;