Lines Matching refs:buflen
39 dctx->buflen = 0;
47 dctx->buflen = 0;
88 if (unlikely(dctx->buflen)) {
89 u32 bytes = min(len, POLY1305_BLOCK_SIZE - dctx->buflen);
91 memcpy(dctx->buf + dctx->buflen, src, bytes);
94 dctx->buflen += bytes;
96 if (dctx->buflen == POLY1305_BLOCK_SIZE) {
99 dctx->buflen = 0;
110 dctx->buflen = len;
145 if (unlikely(dctx->buflen)) {
146 u32 bytes = min(nbytes, POLY1305_BLOCK_SIZE - dctx->buflen);
148 memcpy(dctx->buf + dctx->buflen, src, bytes);
151 dctx->buflen += bytes;
153 if (dctx->buflen == POLY1305_BLOCK_SIZE) {
156 dctx->buflen = 0;
182 dctx->buflen = nbytes;
190 if (unlikely(dctx->buflen)) {
191 dctx->buf[dctx->buflen++] = 1;
192 memset(dctx->buf + dctx->buflen, 0,
193 POLY1305_BLOCK_SIZE - dctx->buflen);