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_512;
33 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
36 octx->rsiz = sctx->count;
37 octx->rsizw = sctx->count >> 32;
39 memcpy(octx->st, sctx->state, sizeof(octx->st));
40 memcpy(octx->buf, sctx->buf, sizeof(octx->buf));
47 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
52 sctx->count = ictx->rsiz;
54 memcpy(sctx->state, ictx->st, sizeof(ictx->st));
55 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf));
56 sctx->func = CPACF_KIMD_SHA3_512;
63 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
68 sctx->count = ictx->rsiz;
70 memcpy(sctx->state, ictx->st, sizeof(ictx->st));
71 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf));
72 sctx->func = CPACF_KIMD_SHA3_384;
99 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
101 memset(sctx->state, 0, sizeof(sctx->state));
102 sctx->count = 0;
103 sctx->func = CPACF_KIMD_SHA3_384;