Lines Matching refs:buflen
27 dctx->buflen = 0;
35 dctx->buflen = 0;
75 if (unlikely(dctx->buflen)) {
76 u32 bytes = min(len, POLY1305_BLOCK_SIZE - dctx->buflen);
78 memcpy(dctx->buf + dctx->buflen, src, bytes);
81 dctx->buflen += bytes;
83 if (dctx->buflen == POLY1305_BLOCK_SIZE) {
85 dctx->buflen = 0;
96 dctx->buflen = len;
105 if (unlikely(dctx->buflen)) {
106 u32 bytes = min(nbytes, POLY1305_BLOCK_SIZE - dctx->buflen);
108 memcpy(dctx->buf + dctx->buflen, src, bytes);
111 dctx->buflen += bytes;
113 if (dctx->buflen == POLY1305_BLOCK_SIZE) {
116 dctx->buflen = 0;
129 dctx->buflen = nbytes;
137 if (unlikely(dctx->buflen)) {
138 dctx->buf[dctx->buflen++] = 1;
139 memset(dctx->buf + dctx->buflen, 0,
140 POLY1305_BLOCK_SIZE - dctx->buflen);