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