Lines Matching refs:dctx
94 struct polyval_desc_ctx *dctx = shash_desc_ctx(desc);
96 memset(dctx, 0, sizeof(*dctx));
104 struct polyval_desc_ctx *dctx = shash_desc_ctx(desc);
110 if (dctx->bytes) {
111 n = min(srclen, dctx->bytes);
112 pos = dctx->buffer + POLYVAL_BLOCK_SIZE - dctx->bytes;
114 dctx->bytes -= n;
120 if (!dctx->bytes)
121 internal_polyval_mul(dctx->buffer,
128 internal_polyval_update(tctx, src, nblocks, dctx->buffer);
134 dctx->bytes = POLYVAL_BLOCK_SIZE - srclen;
135 pos = dctx->buffer;
145 struct polyval_desc_ctx *dctx = shash_desc_ctx(desc);
148 if (dctx->bytes) {
149 internal_polyval_mul(dctx->buffer,
153 memcpy(dst, dctx->buffer, POLYVAL_BLOCK_SIZE);