Lines Matching defs:sctx
21 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
23 memset(sctx->state, 0, sizeof(sctx->state));
24 sctx->count = 0;
25 sctx->func = CPACF_KIMD_SHA3_512;
32 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
35 octx->rsiz = sctx->count;
36 octx->rsizw = sctx->count >> 32;
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);
51 sctx->count = ictx->rsiz;
53 memcpy(sctx->state, ictx->st, sizeof(ictx->st));
54 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf));
55 sctx->func = CPACF_KIMD_SHA3_512;
62 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
67 sctx->count = ictx->rsiz;
69 memcpy(sctx->state, ictx->st, sizeof(ictx->st));
70 memcpy(sctx->buf, ictx->buf, sizeof(ictx->buf));
71 sctx->func = CPACF_KIMD_SHA3_384;
98 struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
100 memset(sctx->state, 0, sizeof(sctx->state));
101 sctx->count = 0;
102 sctx->func = CPACF_KIMD_SHA3_384;