Lines Matching refs:buflen
35 dctx->buflen = 0;
43 dctx->buflen = 0;
84 if (unlikely(dctx->buflen)) {
85 u32 bytes = min(len, POLY1305_BLOCK_SIZE - dctx->buflen);
87 memcpy(dctx->buf + dctx->buflen, src, bytes);
90 dctx->buflen += bytes;
92 if (dctx->buflen == POLY1305_BLOCK_SIZE) {
95 dctx->buflen = 0;
106 dctx->buflen = len;
128 if (unlikely(dctx->buflen)) {
129 u32 bytes = min(nbytes, POLY1305_BLOCK_SIZE - dctx->buflen);
131 memcpy(dctx->buf + dctx->buflen, src, bytes);
134 dctx->buflen += bytes;
136 if (dctx->buflen == POLY1305_BLOCK_SIZE) {
138 dctx->buflen = 0;
164 dctx->buflen = nbytes;
172 if (unlikely(dctx->buflen)) {
173 dctx->buf[dctx->buflen++] = 1;
174 memset(dctx->buf + dctx->buflen, 0,
175 POLY1305_BLOCK_SIZE - dctx->buflen);