Lines Matching refs:dctx
32 struct s390_ghash_desc_ctx *dctx = shash_desc_ctx(desc);
34 memset(dctx, 0, sizeof(*dctx));
35 memcpy(dctx->key, ctx->key, GHASH_BLOCK_SIZE);
56 struct s390_ghash_desc_ctx *dctx = shash_desc_ctx(desc);
60 cpacf_kimd(CPACF_KIMD_GHASH, dctx, src, n);
64 static void ghash_flush(struct s390_ghash_desc_ctx *dctx, const u8 *src,
71 cpacf_kimd(CPACF_KIMD_GHASH, dctx, buf, GHASH_BLOCK_SIZE);
79 struct s390_ghash_desc_ctx *dctx = shash_desc_ctx(desc);
81 ghash_flush(dctx, src, len);
82 memcpy(dst, dctx->icv, GHASH_BLOCK_SIZE);
88 struct s390_ghash_desc_ctx *dctx = shash_desc_ctx(desc);
90 memcpy(out, dctx->icv, GHASH_DIGEST_SIZE);
97 struct s390_ghash_desc_ctx *dctx = shash_desc_ctx(desc);
99 memcpy(dctx->icv, in, GHASH_DIGEST_SIZE);
100 memcpy(dctx->key, ctx->key, GHASH_BLOCK_SIZE);