Lines Matching refs:dctx
103 struct polyval_desc_ctx *dctx = shash_desc_ctx(desc);
105 memset(dctx, 0, sizeof(*dctx));
113 struct polyval_desc_ctx *dctx = shash_desc_ctx(desc);
119 if (dctx->bytes) {
120 n = min(srclen, dctx->bytes);
121 pos = dctx->buffer + POLYVAL_BLOCK_SIZE - dctx->bytes;
123 dctx->bytes -= n;
129 if (!dctx->bytes)
130 internal_polyval_mul(dctx->buffer,
137 internal_polyval_update(tctx, src, nblocks, dctx->buffer);
143 dctx->bytes = POLYVAL_BLOCK_SIZE - srclen;
144 pos = dctx->buffer;
154 struct polyval_desc_ctx *dctx = shash_desc_ctx(desc);
157 if (dctx->bytes) {
158 internal_polyval_mul(dctx->buffer,
162 memcpy(dst, dctx->buffer, POLYVAL_BLOCK_SIZE);