Lines Matching refs:buflen
42 dctx->buflen = 0;
83 if (unlikely(dctx->buflen)) {
84 bytes = min(srclen, POLY1305_BLOCK_SIZE - dctx->buflen);
85 memcpy(dctx->buf + dctx->buflen, src, bytes);
88 dctx->buflen += bytes;
90 if (dctx->buflen == POLY1305_BLOCK_SIZE) {
98 dctx->buflen = 0;
126 dctx->buflen = srclen;
140 if ((dctx->buflen)) {
141 dctx->buf[dctx->buflen++] = 1;
142 memset(dctx->buf + dctx->buflen, 0,
143 POLY1305_BLOCK_SIZE - dctx->buflen);
147 dctx->buflen = 0;