Searched defs:dctx (Results 1 - 2 of 2) sorted by relevance

/arch/s390/crypto/
H A Dghash_s390.c30 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); local
32 memset(dctx, 0, sizeof(*dctx));
56 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); local
59 u8 *buf = dctx->buffer;
62 if (dctx->bytes) {
63 u8 *pos = buf + (GHASH_BLOCK_SIZE - dctx->bytes);
65 n = min(srclen, dctx->bytes);
66 dctx->bytes -= n;
72 if (!dctx
95 ghash_flush(struct ghash_ctx *ctx, struct ghash_desc_ctx *dctx) argument
114 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); local
[all...]
/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c50 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); local
52 memset(dctx, 0, sizeof(*dctx));
75 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); local
77 u8 *dst = dctx->buffer;
80 if (dctx->bytes) {
81 int n = min(srclen, dctx->bytes);
82 u8 *pos = dst + (GHASH_BLOCK_SIZE - dctx->bytes);
84 dctx->bytes -= n;
90 if (!dctx
108 ghash_flush(struct ghash_ctx *ctx, struct ghash_desc_ctx *dctx) argument
128 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc); local
[all...]

Completed in 88 milliseconds